26 class FMTBaseVertexProperties;
27 class FMTBaseEdgeProperties;
140 std::vector<double>m_source_yields;
141 std::vector<double>m_target_yields;
142 std::vector<int>m_periodgaps;
143 std::vector<int>m_sourceactions;
#define FMTEXPORT
Definition: FMTutility.h:125
FMTList containing multiple yield handlers as seen in the yield section, holding the information rela...
Definition: FMTYields.h:44
Definition: FMTBaseVertexProperties.h:33
Predictor gathering the source and target ages, yields, distances and disturbances of a graph transit...
Definition: FMTPredictor.h:33
FMTPredictor(const std::vector< Core::FMTAction > &actions, const std::vector< std::string > &yieldnames, const Core::FMTYields &yields, const FMTBaseVertexProperties &source, const FMTBaseVertexProperties &target, const std::vector< const FMTBaseEdgeProperties * > &edges, const std::vector< int > &gaps, bool withGCBMid=true)
Construct a FMTPredictor from the source and target vertices of a graph transition and the edges betw...
FMTPredictor(const FMTPredictor &rhs)
Copy constructor for FMTPredictor.
FMTPredictor()
Default constructor for FMTPredictor.
~FMTPredictor()=default
Default destructor for FMTPredictor.
double getSourceAge() const
Return the age of the source vertex.
std::vector< double > getPredictors() const
Return the predictor values.
std::vector< std::string > getPredictorNames(const std::vector< std::string > &yieldnames) const
Return the names of the predictors.
bool operator<(const FMTPredictor &rhs) const
Less than operator for FMTPredictor.
double getTargetAge() const
Return the age of the target vertex.
std::vector< double > getTargetYields() const
Return the yields of the target vertex.
std::vector< double > getSourceYields() const
Return the yields of the source vertex.
bool operator==(const FMTPredictor &rhs) const
Comparison operator for FMTPredictor.
double getDisturbance(size_t actId) const
Return the disturbance of an action.
double getDistance(size_t actId) const
Return the distance to an action.
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34
Definition: FMTAreaParser.h:35