![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
The class for notifying learning algorithms of arc 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 | |
ArcDeletion (NodeId node1, NodeId node2) noexcept | |
default constructor More... | |
ArcDeletion (const ArcDeletion &from) noexcept | |
copy constructor More... | |
ArcDeletion (ArcDeletion &&from) noexcept | |
move constructor More... | |
~ArcDeletion () noexcept | |
destructor More... | |
Operators | |
ArcDeletion & | operator= (const ArcDeletion &from) noexcept |
copy constructor More... | |
ArcDeletion & | operator= (ArcDeletion &&from) noexcept |
move operator More... | |
bool | operator== (const ArcDeletion &from) const noexcept |
returns whether two arc deletions are identical or not More... | |
bool | operator!= (const ArcDeletion &from) const noexcept |
returns whether two arc deletions are different or not More... | |
Accessors / Modifiers | |
virtual std::string | toString () const final |
put the content of the ArcDeletion 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 arc 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 216 of file graphChange.h.
|
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 arc 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 arc deletions are identical or not
|
finalvirtual |
put the content of the ArcDeletion into a string
Reimplemented from gum::learning::GraphChange.
Definition at line 78 of file graphChange.cpp.
References gum::learning::genericBNLearner::Database::Database().
|
noexceptinherited |
returns the type of the operation