32 #ifndef GUM_LEARNING_GRAPH_CHANGE_H 33 #define GUM_LEARNING_GRAPH_CHANGE_H 120 virtual std::string
toString()
const;
196 virtual std::string
toString()
const final;
262 virtual std::string
toString()
const final;
328 virtual std::string
toString()
const final;
394 virtual std::string
toString()
const final;
460 virtual std::string
toString()
const final;
584 #ifndef GUM_NO_INLINE 586 #endif // GUM_NOINLINE 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...
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::ostream & operator<<(std::ostream &stream, const IdSet< ALLOC > &idset)
the display operator
Class template representing hashing function of LpCol.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
NodeId __node2
the second node in the edge or arc to be modified
~GraphChange() noexcept
destructor
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...
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