Classes | Public Member Functions | Private Member Functions | Private Attributes

LibGeoDecomp::SimplexOptimizer Class Reference

#include <simplexoptimizer.h>

Inherits LibGeoDecomp::Optimizer.

Collaboration diagram for LibGeoDecomp::SimplexOptimizer:
Collaboration graph
[legend]

List of all members.

Classes

class  SimplexVertex

Public Member Functions

 SimplexOptimizer (const SimulationParameters &params, const double epsilon=-1.0, const double stepMultiplicator=8.0, const std::vector< double > &stepsizes=std::vector< double >())
virtual SimulationParameters operator() (int steps, Evaluator &eval)

Private Member Functions

void evalSimplex (Evaluator &eval)
std::size_t minInSimplex ()
std::size_t maxInSimplex ()
void totalContraction ()
bool checkTermination ()
bool checkConvergence ()
std::pair< SimplexVertex,
SimplexVertex
reflection ()
void initSimplex (SimulationParameters param)
SimplexVertex expansion ()
SimplexVertex partialOutsideContraction ()
SimplexVertex partialInsideContraction ()
bool eq (vector< SimplexVertex > simplex1, vector< SimplexVertex > simplex2)
int comperator (double fitness)
std::string simplexToString () const
SimplexVertex merge (const SimplexVertex &a, const SimplexVertex &b) const

Private Attributes

std::vector< SimplexVertexsimplex
double epsilon
double stepMultiplicator
std::vector< double > stepsizes

Constructor & Destructor Documentation

LibGeoDecomp::SimplexOptimizer::SimplexOptimizer ( const SimulationParameters params,
const double  epsilon = -1.0,
const double  stepMultiplicator = 8.0,
const std::vector< double > &  stepsizes = std::vector<double>() 
) [explicit]

Member Function Documentation

bool LibGeoDecomp::SimplexOptimizer::checkConvergence (  )  [private]

References maxInSimplex(), merge(), and simplex.

bool LibGeoDecomp::SimplexOptimizer::checkTermination (  )  [private]
int LibGeoDecomp::SimplexOptimizer::comperator ( double  fitness  )  [private]
bool LibGeoDecomp::SimplexOptimizer::eq ( vector< SimplexVertex simplex1,
vector< SimplexVertex simplex2 
) [private]
void LibGeoDecomp::SimplexOptimizer::evalSimplex ( Evaluator eval  )  [private]
SimplexOptimizer::SimplexVertex LibGeoDecomp::SimplexOptimizer::expansion (  )  [private]
void LibGeoDecomp::SimplexOptimizer::initSimplex ( SimulationParameters  param  )  [private]
std::size_t LibGeoDecomp::SimplexOptimizer::maxInSimplex (  )  [private]

References simplex.

Referenced by checkConvergence().

SimplexOptimizer::SimplexVertex LibGeoDecomp::SimplexOptimizer::merge ( const SimplexVertex a,
const SimplexVertex b 
) const [private]

Referenced by checkConvergence().

std::size_t LibGeoDecomp::SimplexOptimizer::minInSimplex (  )  [private]
SimulationParameters LibGeoDecomp::SimplexOptimizer::operator() ( int  steps,
Evaluator eval 
) [virtual]

Reimplemented from LibGeoDecomp::Optimizer.

SimplexOptimizer::SimplexVertex LibGeoDecomp::SimplexOptimizer::partialInsideContraction (  )  [private]
SimplexOptimizer::SimplexVertex LibGeoDecomp::SimplexOptimizer::partialOutsideContraction (  )  [private]
std::pair< SimplexOptimizer::SimplexVertex, SimplexOptimizer::SimplexVertex > LibGeoDecomp::SimplexOptimizer::reflection (  )  [private]
std::string LibGeoDecomp::SimplexOptimizer::simplexToString (  )  const [private]
void LibGeoDecomp::SimplexOptimizer::totalContraction (  )  [private]

Member Data Documentation

std::vector<double> LibGeoDecomp::SimplexOptimizer::stepsizes [private]

The documentation for this class was generated from the following files: