67 for (
NodeId i = 0; i < nb_nodes; ++i) {
virtual void addNodeWithId(const NodeId id)
try to insert a node with the given id
The base class for structural constraints imposed by DAGs.
virtual ~StructuralConstraintDAG()
destructor
StructuralConstraintDAG & operator=(const StructuralConstraintDAG &from)
copy operator
StructuralConstraintDAG()
default constructor
DAGCycleDetector _DAG_cycle_detector_
the cycle detector used to check quickly graph modifications
The base class for structural constraints used by learning algorithms that learn a directed graph str...
StructuralConstraintDiGraph & operator=(const StructuralConstraintDiGraph &from)
copy operator
void setGraph(Size nb_nodes)
sets a new empty graph from which we will perform checkings
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size NodeId
Type for node ids.
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
the base class for structural constraints imposed by DAGs
the base class for structural constraints imposed by DAGs