Internal function to create the state environment for a
caugi. This function is not intended to be used directly by users.
Arguments
- nodes
A
data.tableof nodes with anamecolumn.- edges
A
data.tableof edges withfrom,edge, andtocolumns.- ptr
A pointer to the underlying Rust graph structure (or
NULLif not built).- built
Logical; whether the graph has been built.
- simple
Logical; whether the graph is simple (no parallel edges or self-loops).
- class
Character; one of
"UNKNOWN","DAG","UG","PDAG","ADMG", or"AG".- name_index_map
A
fastmapmapping node names to their zero indexed indices.