Go to the documentation of this file.
28 #ifndef __TERRALIB_SA_INTERNAL_SKATEROPERATION_H
29 #define __TERRALIB_SA_INTERNAL_SKATEROPERATION_H
33 #include "../Config.h"
104 #endif //__TERRALIB_SA_INTERNAL_SKATEROPERATION_H
std::unique_ptr< te::sa::SkaterOutputParams > m_outputParams
Attribute with the skater output parameters.
void execute()
Function to execute the skater operation.
~SkaterOperation()
Virtual destructor.
This file contains a class that represents the skater parameters.
From the point of view of graph theory, vertices are treated as featureless and indivisible objects,...
SkaterOperation()
Default constructor.
std::unique_ptr< te::sa::SkaterInputParams > m_inputParams
Attribute with the skater input parameters.
double calculateWeight(std::vector< int > attrsIdx, te::graph::Vertex *vFrom, te::graph::Vertex *vTo)
Function to calculate the weight attribute using the euclidean distance.
int m_nClassGroups
Number of classes (clusters) generated.
void saveDataSet(te::da::DataSet *dataSet, te::da::DataSetType *dsType)
Class used to execute the skater operations.
std::map< int, int > createSkaterMap(te::graph::AbstractGraph *graph, std::vector< std::size_t > &roots)
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.
Class that represents the skater output parameters.
void setParameters(te::sa::SkaterInputParams *inParams, te::sa::SkaterOutputParams *outParams)
Abstract class used to define the main functions of graph struct. All graph implementations must used...
std::unique_ptr< te::mem::DataSet > createDataSet(te::da::DataSet *inputDataSet, te::da::DataSetType *dsType, std::map< int, int > &skaterMap, std::string linkName)
A dataset is the unit of information manipulated by the data access module of TerraLib.
A class that models the description of a dataset.
std::unique_ptr< te::da::DataSetType > createDataSetType(te::da::DataSetType *dsType)
void createWeightAttribute(int weightAttrIdx, std::vector< int > attrsIdx)
Function to create the weight attribute.