29 #ifndef GUM_LEARNING_GRAPH_CHANGE_H 30 #define GUM_LEARNING_GRAPH_CHANGE_H 117 virtual std::string
toString()
const;
193 virtual std::string
toString()
const final;
259 virtual std::string
toString()
const final;
325 virtual std::string
toString()
const final;
391 virtual std::string
toString()
const final;
457 virtual std::string
toString()
const final;
581 #ifndef GUM_NO_INLINE 583 #endif // GUM_NOINLINE Base node set class for graphs.
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...
Classes providing basic hash functions for hash tables.
std::ostream & operator<<(std::ostream &stream, const IdSet< ALLOC > &idset)
the display operator
Class template representing hashing function of LpCol.
gum is the global namespace for all aGrUM entities
NodeId __node2
the second node in the edge or arc to be modified
~GraphChange() noexcept
destructor
A class to account for changes in a graph.
The class for notifying learning algorithms of edge removalsThis class is convenient to know at compi...
GraphChange & operator=(const GraphChange &from) noexcept
copy constructor
bool operator==(const GraphChange &from) const noexcept
returns whether two graph changes are identical or not
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
GraphChangeType __type
the type of modification
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
NodeId __node1
the first node in the edge or arc to be modified
bool operator!=(const GraphChange &from) const noexcept
returns whether two graph changes are different or not
The class for notifying learning algorithms of arc reversalsThis class is convenient to know at compi...
GraphChangeType
the type of modification that can be applied to the graph
All hash functions should inherit from this class.
GraphChange(GraphChangeType type, NodeId node1, NodeId node2) noexcept
default constructor
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size NodeId
Type for node ids.
NodeId node1() const noexcept
returns the first node involved in the modification