NodeGraphPart & operator=(const NodeGraphPart &p)
copy operator
virtual void clear()
removes all the nodes and edges from the graph
bool operator==(const EdgeGraphPart &p) const
tests whether two EdgeGraphParts contain the same edges
EdgeGraphPart & operator=(const EdgeGraphPart &s)
copy operator
virtual void addEdge(const NodeId first, const NodeId second)
insert a new edge into the undirected graph
virtual void addEdge(const NodeId n1, const NodeId n2)
insert a new edge into the EdgeGraphPart
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
bool exists(const NodeId id) const
alias for existsNode
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
virtual void eraseNode(const NodeId id)
remove a node and its adjacent edges from the graph
virtual void clearEdges()
removes all the edges from the EdgeGraphPart
bool operator!=(const UndiGraph &g) const
tests whether two UndiGraphs are different
bool operator==(const UndiGraph &g) const
tests whether two UndiGraphs are identical (same nodes, same edges)
Base class for undirected graphs.
virtual void clearNodes()
remove all the nodes from the NodeGraphPart
void unvirtualizedEraseNeighbours(const NodeId id)
same function as eraseNeighbours but without any virtual call to an erase
UndiGraph & operator=(const UndiGraph &g)
copy operator
Size NodeId
Type for node ids.
#define GUM_ERROR(type, msg)
virtual void eraseNode(const NodeId id)
erase the node with the given id