Chemical Data Processing Library C++ API - Version 1.1.1
List of all members
CDPL::Util::DGCoordinatesGenerator< Dim, T > Class Template Reference

Generic implementation for generation of coordinates that fulfill user-provided point distance constraints [ASPE]. More...

#include <DGCoordinatesGenerator.hpp>

+ Inheritance diagram for CDPL::Util::DGCoordinatesGenerator< Dim, T >:

Additional Inherited Members

- Public Types inherited from CDPL::Util::DGCoordinatesGeneratorBase< Dim, T, DGCoordinatesGenerator< Dim, T > >
typedef DistanceConstraintList::iterator DistanceConstraintIterator
 
typedef DistanceConstraintList::const_iterator ConstDistanceConstraintIterator
 
typedef T ValueType
 
- Public Member Functions inherited from CDPL::Util::DGCoordinatesGeneratorBase< Dim, T, DGCoordinatesGenerator< Dim, T > >
void clearDistanceConstraints ()
 
void addDistanceConstraint (std::size_t pt1_idx, std::size_t pt2_idx, const ValueType &lb, const ValueType &ub)
 
std::size_t getNumDistanceConstraints () const
 
const DistanceConstraintgetDistanceConstraint (std::size_t idx) const
 
DistanceConstraintgetDistanceConstraint (std::size_t idx)
 
void removeDistanceConstraint (std::size_t idx)
 
void removeDistanceConstraint (const DistanceConstraintIterator &it)
 
DistanceConstraintIterator getDistanceConstraintsBegin ()
 
ConstDistanceConstraintIterator getDistanceConstraintsBegin () const
 
DistanceConstraintIterator getDistanceConstraintsEnd ()
 
ConstDistanceConstraintIterator getDistanceConstraintsEnd () const
 
void setNumCycles (std::size_t num_cycles)
 
void setCycleStepCountFactor (double fact)
 
void setStartLearningRate (const ValueType &rate)
 
void setLearningRateDecrement (const ValueType &decr)
 
std::size_t getNumCycles () const
 
double getCycleStepCountFactor () const
 
const ValueTypegetStartLearningRate () const
 
const ValueTypegetLearningRateDecrement () const
 
void setRandomSeed (unsigned int seed)
 
void generate (std::size_t num_points, CoordsArray &coords)
 
ValueType getDistanceError (const CoordsArray &coords) const
 
void orderDistanceConstraints ()
 
- Static Public Attributes inherited from CDPL::Util::DGCoordinatesGeneratorBase< Dim, T, DGCoordinatesGenerator< Dim, T > >
static constexpr std::size_t COORDS_DIM
 
static constexpr std::size_t DEF_NUM_CYCLES
 
static constexpr double DEF_CYCLE_STEP_COUNT_FACTOR
 
static constexpr ValueType DEF_START_LEARNING_RATE
 
static constexpr ValueType DEF_LEARNING_RATE_DECREMENT
 
- Protected Member Functions inherited from CDPL::Util::DGCoordinatesGeneratorBase< Dim, T, DGCoordinatesGenerator< Dim, T > >
 DGCoordinatesGeneratorBase ()
 
 DGCoordinatesGeneratorBase (const DGCoordinatesGeneratorBase &gen)
 
 ~DGCoordinatesGeneratorBase ()
 
DGCoordinatesGeneratorBaseoperator= (const DGCoordinatesGeneratorBase &gen)
 

Detailed Description

template<std::size_t Dim, typename T>
class CDPL::Util::DGCoordinatesGenerator< Dim, T >

Generic implementation for generation of coordinates that fulfill user-provided point distance constraints [ASPE].


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