59 _edges_(edges_size, edges_resize_policy) {
103 for (
const auto& edge: tmp)
126 for (
const auto& edge:
_edges_)
138 _edges_ = std::move(s._edges_);
141 for (
const auto& edge:
_edges_) {
155 for (
const auto& edge:
_edges_) {
156 if (first) first =
false;
Classes for undirected edge sets.
Signaler< NodeId, NodeId > onEdgeAdded
EdgeGraphPart & operator=(const EdgeGraphPart &s)
copy operator
virtual ~EdgeGraphPart()
destructor
EdgeGraphPart(Size edges_size=HashTableConst::default_size, bool edges_resize_policy=true)
default constructor
EdgeSet _edges_
the set of all the edges contained within the EdgeGraphPart
NodeProperty< NodeSet * > _neighbours_
for each node, the set of its adjacent edges
virtual std::string toString() const
to friendly display the content of the EdgeGraphPart
virtual void clearEdges()
removes all the edges from the EdgeGraphPart
Signaler< NodeId, NodeId > onEdgeDeleted
Inline implementation of classes for undirected edge sets.
some utils for topology : NodeId, Edge, Arc and consorts ...
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Set< Edge > EdgeSet
Some typdefs and define for shortcuts ...
Set< NodeId > NodeSet
Some typdefs and define for shortcuts ...
gum is the global namespace for all aGrUM entities
std::ostream & operator<<(std::ostream &stream, const AVLTree< Val, Cmp > &tree)
display the content of a tree
#define GUM_EMIT2(signal, arg1, arg2)