causaldag.classes.ancestral_graph.AncestralGraph.to_amat

AncestralGraph.to_amat() → numpy.ndarray[source]

Convert the graph into an adjacency matrix. TODO: meaning of numbers

Returns:The adjacency matrix of this graph.
Return type:amat

Examples

TODO