Base edge properties of a FMTGraph, holding the action of the edge.
More...
#include <FMTBaseEdgeProperties.h>
Base edge properties of a FMTGraph, holding the action of the edge.
◆ ~FMTBaseEdgeProperties()
| virtual Graph::FMTBaseEdgeProperties::~FMTBaseEdgeProperties |
( |
| ) |
|
|
virtualdefault |
◆ FMTBaseEdgeProperties() [1/4]
| Graph::FMTBaseEdgeProperties::FMTBaseEdgeProperties |
( |
| ) |
|
|
default |
◆ FMTBaseEdgeProperties() [2/4]
◆ FMTBaseEdgeProperties() [3/4]
| Graph::FMTBaseEdgeProperties::FMTBaseEdgeProperties |
( |
const int & |
laction, |
|
|
const int & |
lvariableID, |
|
|
const double & |
lproportion |
|
) |
| |
Construct a FMTBaseEdgeProperties from an action, a variable id and a proportion.
- Parameters
-
| [in] | laction | the action. |
| [in] | lvariableID | the variable id. |
| [in] | lproportion | the proportion. |
◆ FMTBaseEdgeProperties() [4/4]
| constexpr Graph::FMTBaseEdgeProperties::FMTBaseEdgeProperties |
( |
const int & |
laction | ) |
|
|
inlineconstexpr |
◆ getActionID()
| int Graph::FMTBaseEdgeProperties::getActionID |
( |
| ) |
const |
|
inline |
Return the action id of the edge.
- Returns
- the action id.
◆ getProportion()
| virtual double Graph::FMTBaseEdgeProperties::getProportion |
( |
| ) |
const |
|
inlinevirtual |
◆ getShortActionID()
| int8_t Graph::FMTBaseEdgeProperties::getShortActionID |
( |
| ) |
const |
|
inline |
Return the short (int8) action id of the edge.
- Returns
- the short action id.
◆ getVariableID()
| virtual int Graph::FMTBaseEdgeProperties::getVariableID |
( |
| ) |
const |
|
inlinevirtual |
◆ isAction()
Return true if the edge action matches a given action.
- Parameters
-
| [in] | actions | the model actions. |
| [in] | rhsaction | the action to test. |
- Returns
- true if the edge is the given action else false.
◆ operator!=()
Comparison operator for FMTBaseEdgeProperties.
- Parameters
-
- Returns
- true if both edge properties are different else false.
◆ operator<()
Less than operator for FMTBaseEdgeProperties.
- Parameters
-
- Returns
- true if this edge properties is less than the other else false.
◆ operator=()
◆ operator==()
Comparison operator for FMTBaseEdgeProperties.
- Parameters
-
- Returns
- true if both edge properties are equal else false.
◆ setActionID()
| void Graph::FMTBaseEdgeProperties::setActionID |
( |
const int & |
newid | ) |
|
Set the action id of the edge.
- Parameters
-
| [in] | newid | the new action id. |
◆ boost::serialization::access
| friend class boost::serialization::access |
|
friend |
◆ action
| int8_t Graph::FMTBaseEdgeProperties::action |
|
protected |
The documentation for this class was generated from the following file: