FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTYieldModelTsla.h
Go to the documentation of this file.
1
2#include "FMTYieldModel.h"
3#include <vector>
4#include <string>
5#include <memory>
6#include <boost/thread/recursive_mutex.hpp>
7
8#ifndef FMTYIELDMODELTSLA_Hm_included
9#define FMTYIELDMODELTSLA_Hm_included
10
11namespace Core
12{
13 class FMTTheme;
14 // DocString: FMTYieldModelTsla
19 {
20
21 public:
22 // DocString: FMTYieldModelTsla::FMTYieldModelTsla()
27 // DocString: FMTYieldModelTsla::FMTYieldModelTsla(const FMTYieldModelTsla& rhs)
33 // DocString: FMTYieldModelTsla::operator = (const FMTYieldModelTsla& rhs)
40 // DocString: FMTYieldModelTsla::~FMTYieldModelTsla()
45 // DocString: FMTYieldModelTsla::clone()
50 std::unique_ptr<FMTYieldModel>clone() const;
51 // DocString: FMTYieldModelTsla::predict
57 const std::vector<double>predict(const Core::FMTYieldRequest& request) const;
58 // DocString: FMTYieldModelTsla::getModelType()
63 static std::string getModelType();
64 // DocString: FMTYieldModelTsla::preSolve
71 virtual std::unique_ptr<FMTYieldModel> preSolve(const FMTMaskFilter& filter,
72 const std::vector<FMTTheme>& newthemes) const;
73 // DocString: FMTYieldModelTsla::postSolve
80 virtual std::unique_ptr<FMTYieldModel> postSolve(const FMTMaskFilter& filter,
81 const std::vector<FMTTheme>& basethemes) const;
82 // DocString: FMTyieldmodelTSLAl::std::string()
87 virtual operator std::string() const;
88 };
89}
90
91#endif
Filter built from masks used to preSolve and postsolve FMTMask objects.
Definition: FMTMaskFilter.h:31
Yield model returning the time since last disturbance, always added by default by the yield parser.
Definition: FMTYieldModelTsla.h:19
FMTYieldModelTsla()
Default constructor for FMTYieldModelTsla.
~FMTYieldModelTsla()=default
Default destructor for FMTYieldModelTsla.
virtual std::unique_ptr< FMTYieldModel > postSolve(const FMTMaskFilter &filter, const std::vector< FMTTheme > &basethemes) const
Return a postsolved copy of the yield model, restoring the original output and constraint masks.
virtual std::unique_ptr< FMTYieldModel > preSolve(const FMTMaskFilter &filter, const std::vector< FMTTheme > &newthemes) const
Return a presolved copy of the yield model.
FMTYieldModelTsla & operator=(const FMTYieldModelTsla &rhs)=default
Copy assignment operator for FMTYieldModelTsla.
FMTYieldModelTsla(const FMTYieldModelTsla &rhs)=default
Copy constructor for FMTYieldModelTsla.
const std::vector< double > predict(const Core::FMTYieldRequest &request) const
Predict the time since last action for a request.
static std::string getModelType()
Return the model type of the yield model.
std::unique_ptr< FMTYieldModel > clone() const
clone the yield model.
Abstract class to be implemented as a machine learning yield model.
Definition: FMTYieldModel.h:45
Request for yield values using a development and optionally a graph vertex.
Definition: FMTYieldRequest.h:37
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34