Graph¶
- group Graph
Graph data structures, including:
PDAG: A common graph representation, convertible to a pgmpy.base.PDAG.
IPDAGConvertible: Ensures convertibility to the common representation.
Data structures optimized for various structure learning algorithms (PDAGwithAdjList, PDAGwithAdjMat).
-
struct PDAG¶
- #include <pdag.h>
Interface for converting internal graph structures to a unified PDAG.
Structure learning algorithms may use different graph representations. This interface ensures that all such graphs can be converted into a common sparse PDAG form for downstream use (e.g., evaluation, comparison, or Python interop).