#include <AntiSimmetry.h>
Public Member Functions | |
AntiSimmetry (AntiSimmetryParams inParams) | |
Parmetrical constructor. | |
~AntiSimmetry () | |
Destructor. | |
Position | step (AntiSimmetryIn &in) |
Performs a step of the algorithm. | |
vector< Position > | getSimmetryFunction () |
Gets the last computed simmetry function. | |
int | getMinSimmetryFunctionRange () |
Gets the minimum range of the last computed simmetry function. | |
int | getMaxSimmetryFunctionRange () |
Gets the maximum range of the last computed simmetry function. | |
Decimal | getMinSimmetryFunction () |
Gets the minimum of the simmetry function in the range given by the getSimmetryFunctionRange methods. | |
int | getMinSimmetryFunctionIndex () |
Gets the index of the minimum of the simmetry function in the range given by the getSimmetryFunctionRange methods. | |
Position | getCentroid () |
Gets the centroid of the formation during the last execution. | |
void | getCenteredFormation (vector< Position > &ceForm) |
Gets the formation centered in the centroid computed during the last execution. | |
void | getClosestRotatedFormation (vector< Position > &clForm) |
Gets the closest rotated formation computed during the last execution. | |
string | print () |
Print function. |
MipAlgorithms::AntiSimmetry::AntiSimmetry | ( | AntiSimmetryParams | inParams | ) |
Parmetrical constructor.
[in] | inParams | Parameters of the algorithm. |
MipAlgorithms::AntiSimmetry::~AntiSimmetry | ( | ) |
Destructor.
Position MipAlgorithms::AntiSimmetry::step | ( | AntiSimmetryIn & | in | ) |
Performs a step of the algorithm.
[in] | &in | Input of the algorithm. |
vector< Position > MipAlgorithms::AntiSimmetry::getSimmetryFunction | ( | ) |
Gets the last computed simmetry function.
int MipAlgorithms::AntiSimmetry::getMinSimmetryFunctionRange | ( | ) |
Gets the minimum range of the last computed simmetry function.
int MipAlgorithms::AntiSimmetry::getMaxSimmetryFunctionRange | ( | ) |
Gets the maximum range of the last computed simmetry function.
Decimal MipAlgorithms::AntiSimmetry::getMinSimmetryFunction | ( | ) |
Gets the minimum of the simmetry function in the range given by the getSimmetryFunctionRange methods.
int MipAlgorithms::AntiSimmetry::getMinSimmetryFunctionIndex | ( | ) |
Gets the index of the minimum of the simmetry function in the range given by the getSimmetryFunctionRange methods.
Position MipAlgorithms::AntiSimmetry::getCentroid | ( | ) |
Gets the centroid of the formation during the last execution.
void MipAlgorithms::AntiSimmetry::getCenteredFormation | ( | vector< Position > & | ceForm | ) |
Gets the formation centered in the centroid computed during the last execution.
[out] | &ceForm | Writes in this field the requested value. |
void MipAlgorithms::AntiSimmetry::getClosestRotatedFormation | ( | vector< Position > & | clForm | ) |
Gets the closest rotated formation computed during the last execution.
[out] | &clForm | Writes in this field the requested value. |
string MipAlgorithms::AntiSimmetry::print | ( | ) |
Print function.