![]() |
aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
|
the base class indicating the possible changes More...
#include <DAGCycleDetector.h>
Public Member Functions | |
| Change (ChangeType type, NodeId tail, NodeId head) noexcept | |
| Change (const Change &from) noexcept | |
| Change (Change &&from) noexcept | |
| virtual | ~Change () noexcept |
Accessors/Modifiers | |
| ChangeType | type () const noexcept |
| returns the type of the operation | |
| NodeId | tail () const noexcept |
| indicates the tail of the arc involved in the modification | |
| NodeId | head () const noexcept |
| indicates the head of the arc involved in the modification | |
Protected Member Functions | |
| Change & | operator= (const Change &from) noexcept |
| Change & | operator= (Change &&from) noexcept |
Private Attributes | |
| ChangeType | _type_ |
| the type of modification | |
| NodeId | _tail_ |
| the tail of the arc to be modified | |
| NodeId | _head_ |
| the head of the arc to be modified | |
the base class indicating the possible changes
Definition at line 86 of file DAGCycleDetector.h.
|
noexcept |
Definition at line 61 of file DAGCycleDetector_inl.h.
References _type_, head(), tail(), and type().
Referenced by operator=().
|
noexcept |
|
noexcept |
|
virtualnoexcept |
Definition at line 79 of file DAGCycleDetector_inl.h.
|
noexcept |
indicates the head of the arc involved in the modification
Definition at line 103 of file DAGCycleDetector_inl.h.
References _head_.
Referenced by gum::DAGCycleDetector::ArcAdd::ArcAdd(), gum::DAGCycleDetector::ArcDel::ArcDel(), gum::DAGCycleDetector::ArcReverse::ArcReverse(), Change(), and operator=().
|
protectednoexcept |
|
protecteddefaultnoexcept |
References Change(), head(), and tail().
Referenced by gum::DAGCycleDetector::ArcAdd::operator=(), gum::DAGCycleDetector::ArcDel::operator=(), and gum::DAGCycleDetector::ArcReverse::operator=().
|
noexcept |
indicates the tail of the arc involved in the modification
Definition at line 100 of file DAGCycleDetector_inl.h.
References _tail_.
Referenced by gum::DAGCycleDetector::ArcAdd::ArcAdd(), gum::DAGCycleDetector::ArcDel::ArcDel(), gum::DAGCycleDetector::ArcReverse::ArcReverse(), Change(), and operator=().
|
noexcept |
returns the type of the operation
Definition at line 95 of file DAGCycleDetector_inl.h.
References _type_.
Referenced by Change().
|
private |
the head of the arc to be modified
Definition at line 122 of file DAGCycleDetector.h.
Referenced by head(), and operator=().
|
private |
the tail of the arc to be modified
Definition at line 119 of file DAGCycleDetector.h.
Referenced by operator=(), and tail().
|
private |
the type of modification
Definition at line 116 of file DAGCycleDetector.h.
Referenced by Change(), Change(), Change(), operator=(), and type().