Class to generate samples points using stratified strategy.
More...
#include <SamplePointsGeneratorStratified.h>
Class to generate samples points using stratified strategy.
Definition at line 58 of file SamplePointsGeneratorStratified.h.
◆ SamplePointsGeneratorStratified()
te::sa::SamplePointsGeneratorStratified::SamplePointsGeneratorStratified |
( |
| ) |
|
◆ ~SamplePointsGeneratorStratified()
virtual te::sa::SamplePointsGeneratorStratified::~SamplePointsGeneratorStratified |
( |
| ) |
|
|
virtual |
◆ createClassMap()
void te::sa::SamplePointsGeneratorStratified::createClassMap |
( |
| ) |
|
|
protected |
Function used to create the class map
◆ createDataSetType()
virtual std::unique_ptr< te::da::DataSetType > te::sa::SamplePointsGeneratorStratified::createDataSetType |
( |
| ) |
|
|
protectedvirtual |
◆ execute()
void te::sa::SamplePointsGeneratorAbstract::execute |
( |
| ) |
|
|
inherited |
Function to execute the kernel operation.
◆ generateSamples()
◆ getClassNames()
std::vector< std::string > te::sa::SamplePointsGeneratorStratified::getClassNames |
( |
| ) |
|
Function used to get the names for the generated classes
◆ getPoint()
Function used to generate a randon point inside a defined envelope
◆ getPointInGeometry()
Function used to generate a randon point inside a defined geometry
◆ isProportionalToArea()
void te::sa::SamplePointsGeneratorStratified::isProportionalToArea |
( |
bool |
isProp | ) |
|
Function used to set if the number of samples has to be proportional to the area
◆ saveDataSet()
Function used to save the output dataset
◆ setEnvelope()
Function used to set the envelope parameter
◆ setInputAttributeName()
void te::sa::SamplePointsGeneratorStratified::setInputAttributeName |
( |
std::string |
attrName | ) |
|
Function used to set attribute from input data selected to generate the samples
◆ setInputDataSet()
void te::sa::SamplePointsGeneratorStratified::setInputDataSet |
( |
std::unique_ptr< te::da::DataSet > |
dataSet | ) |
|
Function used to set the input dataset
◆ setNumberOfPoints()
void te::sa::SamplePointsGeneratorStratified::setNumberOfPoints |
( |
int |
nPoints | ) |
|
Function used to set the number of points to be generated
◆ setOutputDataSetName()
void te::sa::SamplePointsGeneratorAbstract::setOutputDataSetName |
( |
std::string |
dataSetName | ) |
|
|
inherited |
Function used to set the output dataset name parameter
◆ setOutputDataSource()
Function used to set the output data source parameter
◆ setSRID()
void te::sa::SamplePointsGeneratorAbstract::setSRID |
( |
int |
srid | ) |
|
|
inherited |
Function used to set the envelope parameter
◆ m_attrName
std::string te::sa::SamplePointsGeneratorStratified::m_attrName |
|
protected |
◆ m_classMap
std::map<std::string, std::vector<te::gm::Geometry*> > te::sa::SamplePointsGeneratorStratified::m_classMap |
|
protected |
◆ m_dataSet
std::unique_ptr<te::da::DataSet> te::sa::SamplePointsGeneratorStratified::m_dataSet |
|
protected |
◆ m_distInt
boost::random::uniform_int_distribution te::sa::SamplePointsGeneratorStratified::m_distInt |
|
protected |
◆ m_distReal
boost::random::uniform_real_distribution te::sa::SamplePointsGeneratorAbstract::m_distReal |
|
protectedinherited |
◆ m_ds
◆ m_env
◆ m_gen
boost::random::mt19937 te::sa::SamplePointsGeneratorAbstract::m_gen |
|
protectedinherited |
◆ m_nPoints
int te::sa::SamplePointsGeneratorStratified::m_nPoints |
|
protected |
◆ m_outputDataSetName
std::string te::sa::SamplePointsGeneratorAbstract::m_outputDataSetName |
|
protectedinherited |
◆ m_propToArea
bool te::sa::SamplePointsGeneratorStratified::m_propToArea |
|
protected |
◆ m_srid
int te::sa::SamplePointsGeneratorAbstract::m_srid |
|
protectedinherited |
◆ m_type
The documentation for this class was generated from the following file: