![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
the class to indicate that we wish to add a new arc More...
#include <agrum/base/graphs/DAGCycleDetector.h>
Public Member Functions | |
Constructors / Destructors | |
| ArcAdd (NodeId tail, NodeId head) noexcept | |
| default constructor | |
| ArcAdd (const ArcAdd &from) noexcept | |
| copy constructor | |
| ArcAdd (ArcAdd &&from) noexcept | |
| move constructor | |
| ~ArcAdd () noexcept | |
| destructor | |
Operators | |
| ArcAdd & | operator= (const ArcAdd &from) noexcept |
| copy operator | |
| ArcAdd & | operator= (ArcAdd &&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 add a new arc
Definition at line 132 of file DAGCycleDetector.h.
default constructor
Definition at line 114 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::ARC_ADDITION, gum::DAGCycleDetector::Change::head(), and gum::DAGCycleDetector::Change::tail().
|
noexcept |
copy constructor
Definition at line 120 of file DAGCycleDetector_inl.h.
|
noexcept |
move constructor
Definition at line 126 of file DAGCycleDetector_inl.h.
|
noexcept |
destructor
Definition at line 134 of file DAGCycleDetector_inl.h.
|
noexceptinherited |
indicates the head of the arc involved in the modification
Definition at line 105 of file DAGCycleDetector_inl.h.
References _head_.
Referenced by gum::DAGCycleDetector::ArcAdd::ArcAdd(), gum::DAGCycleDetector::ArcDel::ArcDel(), gum::DAGCycleDetector::ArcReverse::ArcReverse(), and Change().
|
noexcept |
move operator
Definition at line 145 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::Change::operator=().
|
noexcept |
copy operator
Definition at line 138 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::Change::operator=().
|
noexceptinherited |
indicates the tail of the arc involved in the modification
Definition at line 102 of file DAGCycleDetector_inl.h.
References _tail_.
Referenced by gum::DAGCycleDetector::ArcAdd::ArcAdd(), gum::DAGCycleDetector::ArcDel::ArcDel(), gum::DAGCycleDetector::ArcReverse::ArcReverse(), and Change().
|
noexceptinherited |
returns the type of the operation
Definition at line 97 of file DAGCycleDetector_inl.h.
References _type_.
Referenced by Change().
|
privateinherited |
the head of the arc to be modified
Definition at line 123 of file DAGCycleDetector.h.
Referenced by head(), operator=(), and operator=().
|
privateinherited |
the tail of the arc to be modified
Definition at line 120 of file DAGCycleDetector.h.
Referenced by operator=(), operator=(), and tail().
|
privateinherited |
the type of modification
Definition at line 117 of file DAGCycleDetector.h.
Referenced by Change(), Change(), Change(), operator=(), operator=(), and type().