![]() |
aGrUM 3.1.1
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 override | |
| 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 131 of file DAGCycleDetector.h.
default constructor
Definition at line 112 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::ARC_ADDITION, gum::DAGCycleDetector::Change::head(), and gum::DAGCycleDetector::Change::tail().
Referenced by operator=().
|
noexcept |
copy constructor
Definition at line 118 of file DAGCycleDetector_inl.h.
|
noexcept |
move constructor
Definition at line 124 of file DAGCycleDetector_inl.h.
|
overridenoexcept |
destructor
Definition at line 132 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 140 of file DAGCycleDetector_inl.h.
References gum::DAGCycleDetector::Change::operator=().
|
defaultnoexcept |
|
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().