Berge trigraphs and their applications