DiGraph & operator=(const DiGraph &g)
copy operator
NodeGraphPart & operator=(const NodeGraphPart &p)
copy operator
virtual void addArc(const NodeId tail, const NodeId head)
insert a new arc into the directed graph
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
bool operator!=(const DiGraph &g) const
tests whether two DiGraphs are different
virtual void addArc(const NodeId tail, const NodeId head)
insert a new arc into the ArcGraphPart
ArcGraphPart & operator=(const ArcGraphPart &s)
copy operator
void clearArcs()
removes all the arcs from the ArcGraphPart
virtual void clear()
removes all the nodes and arcs from the graph
bool exists(const NodeId id) const
alias for existsNode
bool operator==(const DiGraph &g) const
tests whether two DiGraphs are identical (same nodes, same arcs)
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
bool operator==(const NodeGraphPart &p) const
check whether two NodeGraphParts contain the same nodes
Sequence< NodeId > * __mutableTopologicalOrder
The topology sequence of this Directed Graphical Model.
bool operator==(const ArcGraphPart &p) const
tests whether two ArcGraphParts contain the same arcs
Base class for all oriented graphs.
virtual void clearNodes()
remove all the nodes from the NodeGraphPart
void unvirtualizedEraseChildren(const NodeId id)
same function as eraseChildren but without any virtual call to an erase
void unvirtualizedEraseParents(const NodeId id)
same function as eraseParents but without any virtual call to an erase
virtual void eraseNode(const NodeId id)
remove a node and its adjacent arcs from the graph
Size NodeId
Type for node ids.
#define GUM_ERROR(type, msg)
virtual void eraseNode(const NodeId id)
erase the node with the given id