63 std::stringstream stream;
66 stream <<
"ArcAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
70 stream <<
"ArcDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
74 stream <<
"ArcReversal ( " <<
node1() <<
" , " <<
node2() <<
" )";
78 stream <<
"EdgeAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
82 stream <<
"EdgeDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
91 std::stringstream stream;
92 stream <<
"ArcAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
98 std::stringstream stream;
99 stream <<
"ArcDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
105 std::stringstream stream;
106 stream <<
"ArcReversal ( " <<
node1() <<
" , " <<
node2() <<
" )";
112 std::stringstream stream;
113 stream <<
"EdgeAddition ( " <<
node1() <<
" , " <<
node2() <<
" )";
119 std::stringstream stream;
120 stream <<
"EdgeDeletion ( " <<
node1() <<
" , " <<
node2() <<
" )";
Exception : operation not allowed.
The class for notifying learning algorithms of new arc additions.
virtual std::string toString() const final
put the content of the ArcAddition into a string
The class for notifying learning algorithms of arc removals.
virtual std::string toString() const final
put the content of the ArcDeletion into a string
The class for notifying learning algorithms of arc reversals.
virtual std::string toString() const final
put the content of the ArcReversal into a string
The class for notifying learning algorithms of new edge additions.
virtual std::string toString() const final
put the content of the EdgeAddition into a string
The class for notifying learning algorithms of edge removals.
virtual std::string toString() const final
put the content of the EdgeDeletion into a string
NodeId node1() const noexcept
returns the first node involved in the modification
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
put the content of the graph change into a string
#define GUM_ERROR(type, msg)
the classes to account for structure changes in a graph
A class to account for changes in a graph.
include the inlined functions if necessary
std::ostream & operator<<(std::ostream &stream, const IdCondSet &idset)
the display operator
gum is the global namespace for all aGrUM entities