TBFPC.get_all_cdags_from_cpdag#

TBFPC.get_all_cdags_from_cpdag(dot_cpdag=None)[source]#

Enumerate all acyclic orientations (consistent extensions) of the CPDAG.

Parameters:
dot_cpdagstr | None

If provided, parse the CPDAG from this DOT string (expects undirected edges encoded as [style=dashed, dir=none]). If None, use the model’s current CPDAG from self.get_directed_edges() and self.get_undirected_edges().

Returns:
list[str]

A list of DOT strings, each representing a fully oriented DAG (no dashed edges).