NodeGraphPart & operator=(const NodeGraphPart &p)
copy operator
MixedGraph & operator=(const MixedGraph &g)
copy operator
virtual void clear()
removes all the nodes, arcs and edges from the graph
bool operator!=(const MixedGraph &g) const
tests whether two MixedGraphs are different
bool operator==(const EdgeGraphPart &p) const
tests whether two EdgeGraphParts contain the same edges
EdgeGraphPart & operator=(const EdgeGraphPart &s)
copy operator
ArcGraphPart & operator=(const ArcGraphPart &s)
copy operator
void clearArcs()
removes all the arcs from the ArcGraphPart
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
virtual void eraseNode(const NodeId id)
remove a node as well as its adjacent arcs and edges from the graph
bool operator==(const NodeGraphPart &p) const
check whether two NodeGraphParts contain the same nodes
virtual void clearEdges()
removes all the edges from the EdgeGraphPart
bool operator==(const ArcGraphPart &p) const
tests whether two ArcGraphParts contain the same arcs
bool operator==(const MixedGraph &g) const
tests whether two MixedGraphs are identical (same nodes, arcs and edges)
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
void unvirtualizedEraseNeighbours(const NodeId id)
same function as eraseNeighbours but without any virtual call to an erase
Size NodeId
Type for node ids.
virtual void eraseNode(const NodeId id)
erase the node with the given id
Base class for mixed graphs.