![]() |
aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
|
the class to indicate that we wish to reverse an arc More...
#include <agrum/base/graphs/DAGCycleDetector.h>
Public Member Functions | |
Constructors / Destructors | |
| ArcReverse (NodeId tail, NodeId head) noexcept | |
| default constructor | |
| ArcReverse (const ArcReverse &from) noexcept | |
| copy constructor | |
| ArcReverse (ArcReverse &&from) noexcept | |
| move constructor | |
| ~ArcReverse () noexcept override | |
| destructor | |
Operators | |
| ArcReverse & | operator= (const ArcReverse &from) noexcept |
| copy operator | |
| ArcReverse & | operator= (ArcReverse &&from) noexcept |
| move operator | |
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 | |
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 class to indicate that we wish to reverse an arc
Definition at line 210 of file DAGCycleDetector.h.
default constructor
Definition at line 192 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::ARC_REVERSAL, gum::DAGCycleDetector::Change::head(), and gum::DAGCycleDetector::Change::tail().
Referenced by operator=().
|
noexcept |
copy constructor
Definition at line 198 of file DAGCycleDetector_inl.h.
|
noexcept |
move constructor
Definition at line 204 of file DAGCycleDetector_inl.h.
|
overridenoexcept |
destructor
Definition at line 212 of file DAGCycleDetector_inl.h.
|
noexceptinherited |
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=().
|
noexcept |
move operator
Definition at line 223 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::Change::operator=().
|
defaultnoexcept |
copy operator
References ArcReverse(), and operator=().
Referenced by operator=().
|
noexceptinherited |
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=().
|
noexceptinherited |
returns the type of the operation
Definition at line 95 of file DAGCycleDetector_inl.h.
References _type_.
Referenced by Change().
|
privateinherited |
the head of the arc to be modified
Definition at line 122 of file DAGCycleDetector.h.
Referenced by head(), and operator=().
|
privateinherited |
the tail of the arc to be modified
Definition at line 119 of file DAGCycleDetector.h.
Referenced by operator=(), and tail().
|
privateinherited |
the type of modification
Definition at line 116 of file DAGCycleDetector.h.
Referenced by Change(), Change(), Change(), operator=(), and type().