![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Vertex properties of a FMTGraph, extending the base vertex properties with a constraint id. More...
#include <FMTVertexProperties.h>
Public Member Functions | |
| ~FMTVertexProperties ()=default | |
| Default destructor for FMTVertexProperties. | |
| FMTVertexProperties ()=default | |
| Default constructor for FMTVertexProperties. | |
| FMTVertexProperties (const FMTVertexProperties &rhs) | |
| Copy constructor for FMTVertexProperties. | |
| FMTVertexProperties & | operator= (const FMTVertexProperties &rhs)=default |
| Copy assignment operator for FMTVertexProperties. | |
| FMTVertexProperties (const Core::FMTFuturDevelopment &ldevelopment, const int &lconstraintID) | |
| Construct a FMTVertexProperties from a futur development and a constraint id. | |
| FMTVertexProperties (const Core::FMTActualDevelopment &ldevelopment, const int &lconstraintID) | |
| Construct a FMTVertexProperties from an actual development and a constraint id. | |
| FMTVertexProperties (const Core::FMTDevelopment &ldevelopment, const int &lconstraintID) | |
| Construct a FMTVertexProperties from a development and a constraint id. | |
| std::string | constraintName () const |
| Return the name of the constraint of the vertex. | |
| int | getConstraintId () const override |
| Return the constraint id of the vertex. | |
| void | setConstraintId (const int &ID) |
| Set the constraint id of the vertex. | |
Public Member Functions inherited from Graph::FMTBaseVertexProperties | |
| virtual | ~FMTBaseVertexProperties ()=default |
| Default virtual destructor for FMTBaseVertexProperties. | |
| FMTBaseVertexProperties ()=default | |
| Default constructor for FMTBaseVertexProperties. | |
| FMTBaseVertexProperties (const FMTBaseVertexProperties &rhs) | |
| Copy constructor for FMTBaseVertexProperties. | |
| FMTBaseVertexProperties & | operator= (const FMTBaseVertexProperties &rhs) |
| Copy assignment operator for FMTBaseVertexProperties. | |
| FMTBaseVertexProperties (const Core::FMTFuturDevelopment &p_development) | |
| Construct a FMTBaseVertexProperties from a futur development. | |
| FMTBaseVertexProperties (const Core::FMTActualDevelopment &p_development) | |
| Construct a FMTBaseVertexProperties from an actual development. | |
| void | setDevlopementMask (const Core::FMTMask &p_newMask) |
| Set the development mask of the vertex. | |
| double | getBaseRhs () const |
| Get the right hand side of the constraint of the vertex. | |
| virtual int | getConstraintId () const |
| Get the index of the constraint of the vertex. | |
| const Core::FMTDevelopment & | get () const |
| Get a const reference to the development of the vertex. | |
| size_t | hash () const |
| Hash the development of the vertex. | |
| bool | operator< (const FMTBaseVertexProperties &rhs) const |
| Less than operator for FMTBaseVertexProperties. | |
| bool | operator== (const FMTBaseVertexProperties &rhs) const |
| Comparison operator for FMTBaseVertexProperties. | |
| bool | operator!= (const FMTBaseVertexProperties &rhs) const |
| Comparison operator for FMTBaseVertexProperties. | |
Friends | |
| class | boost::serialization::access |
Vertex properties of a FMTGraph, extending the base vertex properties with a constraint id.
|
default |
Default destructor for FMTVertexProperties.
|
default |
Default constructor for FMTVertexProperties.
| Graph::FMTVertexProperties::FMTVertexProperties | ( | const FMTVertexProperties & | rhs | ) |
Copy constructor for FMTVertexProperties.
| [in] | rhs | the FMTVertexProperties to copy. |
| Graph::FMTVertexProperties::FMTVertexProperties | ( | const Core::FMTFuturDevelopment & | ldevelopment, |
| const int & | lconstraintID | ||
| ) |
Construct a FMTVertexProperties from a futur development and a constraint id.
| [in] | ldevelopment | the futur development. |
| [in] | lconstraintID | the constraint id. |
| Graph::FMTVertexProperties::FMTVertexProperties | ( | const Core::FMTActualDevelopment & | ldevelopment, |
| const int & | lconstraintID | ||
| ) |
Construct a FMTVertexProperties from an actual development and a constraint id.
| [in] | ldevelopment | the actual development. |
| [in] | lconstraintID | the constraint id. |
| Graph::FMTVertexProperties::FMTVertexProperties | ( | const Core::FMTDevelopment & | ldevelopment, |
| const int & | lconstraintID | ||
| ) |
Construct a FMTVertexProperties from a development and a constraint id.
| [in] | ldevelopment | the development. |
| [in] | lconstraintID | the constraint id. |
| std::string Graph::FMTVertexProperties::constraintName | ( | ) | const |
Return the name of the constraint of the vertex.
|
inlineoverridevirtual |
Return the constraint id of the vertex.
Reimplemented from Graph::FMTBaseVertexProperties.
|
default |
Copy assignment operator for FMTVertexProperties.
| [in] | rhs | the FMTVertexProperties to copy. |
| void Graph::FMTVertexProperties::setConstraintId | ( | const int & | ID | ) |
Set the constraint id of the vertex.
| [in] | ID | the constraint id. |
|
friend |