![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Wrapper around a vector of constraint values, hashable and comparable so that identical value vectors can be interned and shared. More...
#include <FMTGraphValues.h>
Public Member Functions | |
| FMTGraphValues ()=default | |
| Default constructor for FMTGraphValues. | |
| FMTGraphValues (const std::vector< double > &p_values) | |
| Construct a FMTGraphValues from a vector of values. | |
| bool | operator== (const FMTGraphValues &p_Other) const |
| Comparison operator for FMTGraphValues. | |
| const std::vector< double > & | getValues () const |
| Return the values. | |
| size_t | hash () const |
| Hash the values. | |
Wrapper around a vector of constraint values, hashable and comparable so that identical value vectors can be interned and shared.
|
default |
Default constructor for FMTGraphValues.
| Spatial::FMTGraphValues::FMTGraphValues | ( | const std::vector< double > & | p_values | ) |
Construct a FMTGraphValues from a vector of values.
| [in] | p_values | the values. |
| const std::vector< double > & Spatial::FMTGraphValues::getValues | ( | ) | const |
Return the values.
| size_t Spatial::FMTGraphValues::hash | ( | ) | const |
Hash the values.
| bool Spatial::FMTGraphValues::operator== | ( | const FMTGraphValues & | p_Other | ) | const |
Comparison operator for FMTGraphValues.
| [in] | p_Other | the FMTGraphValues to compare to. |