![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
The class for notifying learning algorithms of edge removalsThis class is convenient to know at compile time which graph change we are dealing with. More...
#include <graphChange.h>
Public Member Functions | |
Constructors / Destructors | |
EdgeDeletion (NodeId node1, NodeId node2) noexcept | |
default constructor More... | |
EdgeDeletion (const EdgeDeletion &from) noexcept | |
copy constructor More... | |
EdgeDeletion (EdgeDeletion &&from) noexcept | |
move constructor More... | |
~EdgeDeletion () noexcept | |
destructor More... | |
Operators | |
EdgeDeletion & | operator= (const EdgeDeletion &from) noexcept |
copy constructor More... | |
EdgeDeletion & | operator= (EdgeDeletion &&from) noexcept |
move operator More... | |
bool | operator== (const EdgeDeletion &from) const noexcept |
returns whether two edge deletions are identical or not More... | |
bool | operator!= (const EdgeDeletion &from) const noexcept |
returns whether two edge deletions are different or not More... | |
Accessors / Modifiers | |
virtual std::string | toString () const final |
put the content of the EdgeDeletion into a string More... | |
Operators | |
bool | operator== (const GraphChange &from) const noexcept |
returns whether two graph changes are identical or not More... | |
bool | operator!= (const GraphChange &from) const noexcept |
returns whether two graph changes are different or not More... | |
Accessors/Modifiers | |
GraphChangeType | type () const noexcept |
returns the type of the operation More... | |
NodeId | node1 () const noexcept |
returns the first node involved in the modification More... | |
NodeId | node2 () const noexcept |
returns the second node involved in the modification More... | |
The class for notifying learning algorithms of edge removals
This class is convenient to know at compile time which graph change we are dealing with.
Thus, this enables to perform faster code (we can avoid using a switch on GraphChanges to determine which change corresponds to this class.
Definition at line 414 of file graphChange.h.
default constructor
|
noexcept |
copy constructor
|
noexcept |
move constructor
|
noexcept |
destructor
|
noexceptinherited |
returns the first node involved in the modification
|
noexceptinherited |
returns the second node involved in the modification
|
noexceptinherited |
returns whether two graph changes are different or not
|
noexcept |
returns whether two edge deletions are different or not
|
noexcept |
copy constructor
|
noexcept |
move operator
|
noexceptinherited |
returns whether two graph changes are identical or not
|
noexcept |
returns whether two edge deletions are identical or not
|
finalvirtual |
put the content of the EdgeDeletion into a string
Reimplemented from gum::learning::GraphChange.
Definition at line 99 of file graphChange.cpp.
References gum::learning::genericBNLearner::Database::Database().
|
noexceptinherited |
returns the type of the operation