Public Types | Public Member Functions | Protected Attributes

LibGeoDecomp::SimulationParameters Class Reference

#include <simulationparameters.h>

Inherited by LibGeoDecomp::SimplexOptimizer::SimplexVertex.

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

List of all members.

Public Types

typedef boost::shared_ptr
< SimulationParametersHelpers::Parameter
ParamPointerType

Public Member Functions

 SimulationParameters ()
 SimulationParameters (const SimulationParameters &other)
template<typename VALUE_TYPE >
void addParameter (const std::string &name, const VALUE_TYPE &minimum, const VALUE_TYPE &maximum, const double granularity=1.0)
template<typename VALUE_TYPE >
void addParameter (const std::string &name, const std::vector< VALUE_TYPE > &elements)
template<typename VALUE_TYPE >
void replaceParameter (const std::string &name, const VALUE_TYPE &minimum, const VALUE_TYPE &maximum, const double granularity=1.0)
template<typename VALUE_TYPE >
void replaceParameter (const std::string &name, const std::vector< VALUE_TYPE > &elements)
SimulationParametersHelpers::Parameteroperator[] (const std::string &name)
const
SimulationParametersHelpers::Parameter
operator[] (const std::string &name) const
SimulationParametersHelpers::Parameteroperator[] (std::size_t index)
const
SimulationParametersHelpers::Parameter
operator[] (std::size_t index) const
std::string toString () const
std::size_t size () const

Protected Attributes

std::map< std::string, int > names
std::vector< ParamPointerTypeparameters

Member Typedef Documentation


Constructor & Destructor Documentation

LibGeoDecomp::SimulationParameters::SimulationParameters (  )  [inline]
LibGeoDecomp::SimulationParameters::SimulationParameters ( const SimulationParameters other  )  [inline]

References size().


Member Function Documentation

template<typename VALUE_TYPE >
void LibGeoDecomp::SimulationParameters::addParameter ( const std::string &  name,
const VALUE_TYPE &  minimum,
const VALUE_TYPE &  maximum,
const double  granularity = 1.0 
) [inline]
template<typename VALUE_TYPE >
void LibGeoDecomp::SimulationParameters::addParameter ( const std::string &  name,
const std::vector< VALUE_TYPE > &  elements 
) [inline]
const SimulationParametersHelpers::Parameter& LibGeoDecomp::SimulationParameters::operator[] ( std::size_t  index  )  const [inline]
SimulationParametersHelpers::Parameter& LibGeoDecomp::SimulationParameters::operator[] ( const std::string &  name  )  [inline]
SimulationParametersHelpers::Parameter& LibGeoDecomp::SimulationParameters::operator[] ( std::size_t  index  )  [inline]
const SimulationParametersHelpers::Parameter& LibGeoDecomp::SimulationParameters::operator[] ( const std::string &  name  )  const [inline]
template<typename VALUE_TYPE >
void LibGeoDecomp::SimulationParameters::replaceParameter ( const std::string &  name,
const std::vector< VALUE_TYPE > &  elements 
) [inline]
template<typename VALUE_TYPE >
void LibGeoDecomp::SimulationParameters::replaceParameter ( const std::string &  name,
const VALUE_TYPE &  minimum,
const VALUE_TYPE &  maximum,
const double  granularity = 1.0 
) [inline]
std::size_t LibGeoDecomp::SimulationParameters::size (  )  const [inline]
std::string LibGeoDecomp::SimulationParameters::toString (  )  const [inline]

Member Data Documentation

std::map<std::string, int> LibGeoDecomp::SimulationParameters::names [protected]

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