36 #endif // GUM_NOINLINE 44 std::stringstream stream;
47 stream <<
"ArcAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
51 stream <<
"ArcDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
55 stream <<
"ArcReversal ( " <<
node1() <<
" , " <<
node2() <<
" )";
59 stream <<
"EdgeAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
63 stream <<
"EdgeDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
68 "this graph modification is not supported yet");
74 std::stringstream stream;
75 stream <<
"ArcAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
81 std::stringstream stream;
82 stream <<
"ArcDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
88 std::stringstream stream;
89 stream <<
"ArcReversal ( " <<
node1() <<
" , " <<
node2() <<
" )";
95 std::stringstream stream;
96 stream <<
"EdgeAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
102 std::stringstream stream;
103 stream <<
"EdgeDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
The class for notifying learning algorithms of new arc additionsThis class is convenient to know at c...
The class for notifying learning algorithms of arc removalsThis class is convenient to know at compil...
std::ostream & operator<<(std::ostream &stream, const IdSet< ALLOC > &idset)
the display operator
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
The class for notifying learning algorithms of edge removalsThis class is convenient to know at compi...
virtual std::string toString() const final
put the content of the EdgeAddition into a string
virtual std::string toString() const final
put the content of the EdgeDeletion into a string
The class for notifying learning algorithms of new edge additionsThis class is convenient to know at ...
GraphChangeType type() const noexcept
returns the type of the operation
NodeId node2() const noexcept
returns the second node involved in the modification
virtual std::string toString() const final
put the content of the ArcReversal into a string
virtual std::string toString() const
put the content of the graph change into a string
The class for notifying learning algorithms of arc reversalsThis class is convenient to know at compi...
virtual std::string toString() const final
put the content of the ArcDeletion into a string
virtual std::string toString() const final
put the content of the ArcAddition into a string
#define GUM_ERROR(type, msg)
NodeId node1() const noexcept
returns the first node involved in the modification