108 switch (change.
type()) {
126 "Graph change operation "
128 <<
" is not supported by the Possible Edges structural constraint");
133 switch (change.
type()) {
150 "Graph change operation "
152 <<
" is not supported by the Possible Edges structural constraint");
Base class for all oriented graphs.
Exception : operation not allowed.
std::string typeAsString() const
returns a string corresponding to the type of the change
NodeId node1() const noexcept
returns the first node involved in the modification
GraphChangeType type() const noexcept
returns the type of the operation
NodeId node2() const noexcept
returns the second node involved in the modification
NodeId node3() const
returns the third node involved in the modification (if any)
the structural constraint for forbidding the creation of some arcs except those defined in the class ...
bool checkArcReversalAlone(NodeId x, NodeId y) const
checks whether the constraints enable to reverse arc (x,y)
bool isAlwaysInvalidAlone(const GraphChange &change) const
indicates whether a change will always violate the constraint
bool checkModificationAlone(const GraphChange &change) const
checks whether the constraints enable to perform a graph change
EdgeSet _PossibleEdges_possible_edges_
the PossibleEdges on which we perform checks
virtual ~StructuralConstraintPossibleEdges()
destructor
bool checkArcTriangleDeletion2Alone(NodeId node1, NodeId node2, NodeId node3) const
checks whether the constraints enable to apply an ArcTriangleDeletion2
StructuralConstraintPossibleEdges & operator=(const StructuralConstraintPossibleEdges &from)
copy operator
bool checkArcAdditionAlone(NodeId x, NodeId y) const
checks whether the constraints enable to add arc (x,y)
bool checkArcTriangleDeletion1Alone(NodeId node1, NodeId node2, NodeId node3) const
checks whether the constraints enable to apply an ArcTriangleDeletion1
StructuralConstraintPossibleEdges()
default constructor
bool checkArcDeletionAlone(NodeId x, NodeId y) const
checks whether the constraints enable to remove arc (x,y)
#define GUM_ERROR(type, msg)
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
the structural constraint for forbidding the creation of some arcs during structure learning
the structural constraint for forbidding the creation of some arcs during structure learning