FMT 0.9.8
Forest management tools for forest planning
|
#include <FMToperatingareaclusterbinary.hpp>
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from Heuristics::FMToperatingarea | |
Core::FMTmask | mask |
The mask describing the operating area. | |
std::vector< Core::FMTmask > | neighbors |
Neighbors mask of the operating area. | |
double | neihgborsperimeter |
neighborsperimeter is the ratio a operatingarea needs to share to a other operatingarea to be considered neighbor. | |
double | _area |
The initial area of the operating area used as big M for the MIP. | |
FMToperatingareaclusterbinary is the definition of a non clustered operating area this class is used by the FMToperatingareacluster. The class contains extra informations for an FMToperating area. Eeach clusterbinary has a binary variable id, a maximal and minimal row statistic and finaly the statistic varlue of the binary used to calculate the objective function.
|
default |
FMToperatingareaclusterbinary default constructor.
|
default |
FMToperatingareaclusterbinary default copy constructor.
|
default |
FMToperatingareaclusterbinary default destructor.
Heuristics::FMToperatingareaclusterbinary::FMToperatingareaclusterbinary | ( | const FMToperatingarea & | oparea | ) |
FMToperatingareaclusterbinary constructor using a base FMToperatingarea.
std::vector< FMToperatingareaclusterbinary > Heuristics::FMToperatingareaclusterbinary::filterneighbors | ( | std::vector< FMToperatingareaclusterbinary > | potentiallink | ) | const |
This function takes a vector of potential binary link and filter this list by looking at the neighbors of each binary to make sure that the linked list are real.y neighbors.
Core::FMToutput Heuristics::FMToperatingareaclusterbinary::getoutputintersect | ( | const Core::FMToutput & | output, |
const std::vector< Core::FMTtheme > & | themes | ||
) | const |
Using an (output) this function is going to intersect the mask of the output with the mask of the operating area and it will result of an output targeting only the operating area.
|
inline |
Getter for the statistic value of the operating area.
|
inline |
Getter for the binary variable of the lpmodel that represent the operating area.
|
default |
FMToperatingareaclusterbinary default copy assignment.
void Heuristics::FMToperatingareaclusterbinary::setstatistic | ( | const double & | statvalue | ) |
Setter for the statistic of the clusterbinary that is going to be used in the global objective for minimizing heterogenity.
void Heuristics::FMToperatingareaclusterbinary::setvariable | ( | const int & | lvariable | ) |
Setter for the binary variable of the lpmodel that represent the operating area.
|
friend |