causaldag.classes.pdag.PDAG.has_edge_or_arc

PDAG.has_edge_or_arc(i, j)[source]

Return True if the graph contains the edge i–j or an arc i->j or i<-j