COPASI API
4.16.103
|
#include <COptMethodSS.h>
Public Member Functions | |
COptMethodSS (const COptMethodSS &src, const CCopasiContainer *pParent=NULL) | |
virtual bool | elevateChildren () |
virtual bool | optimise () |
virtual | ~COptMethodSS () |
![]() | |
COptMethod (const COptMethod &src, const CCopasiContainer *pParent=NULL) | |
bool | isBounded (void) |
virtual bool | isValidProblem (const CCopasiProblem *pProblem) |
void | setProblem (COptProblem *problem) |
virtual | ~COptMethod () |
![]() | |
CCopasiMethod (const CCopasiMethod &src, const CCopasiContainer *pParent=NULL) | |
const CCopasiMethod::SubType & | getSubType () const |
const CCopasiTask::Type & | getType () const |
virtual void | load (CReadConfig &configBuffer, CReadConfig::Mode mode=CReadConfig::SEARCH) |
virtual void | print (std::ostream *ostream) const |
virtual void | printResult (std::ostream *ostream) const |
virtual bool | setCallBack (CProcessReport *pCallBack) |
virtual | ~CCopasiMethod () |
![]() | |
bool | addGroup (const std::string &name) |
bool | addParameter (const CCopasiParameter ¶meter) |
bool | addParameter (const std::string &name, const CCopasiParameter::Type type) |
template<class CType > | |
bool | addParameter (const std::string &name, const CCopasiParameter::Type type, const CType &value) |
void | addParameter (CCopasiParameter *pParameter) |
CCopasiParameterGroup * | assertGroup (const std::string &name) |
template<class CType > | |
CCopasiParameter * | assertParameter (const std::string &name, const CCopasiParameter::Type type, const CType &defaultValue) |
index_iterator | beginIndex () const |
name_iterator | beginName () const |
CCopasiParameterGroup (const CCopasiParameterGroup &src, const CCopasiContainer *pParent=NULL) | |
CCopasiParameterGroup (const std::string &name, const CCopasiContainer *pParent=NULL, const std::string &objectType="ParameterGroup") | |
void | clear () |
index_iterator | endIndex () const |
name_iterator | endName () const |
CCopasiParameterGroup * | getGroup (const std::string &name) |
const CCopasiParameterGroup * | getGroup (const std::string &name) const |
CCopasiParameterGroup * | getGroup (const size_t &index) |
const CCopasiParameterGroup * | getGroup (const size_t &index) const |
size_t | getIndex (const std::string &name) const |
std::string | getKey (const std::string &name) const |
std::string | getKey (const size_t &index) const |
virtual const std::string & | getName (const size_t &index) const |
virtual const CObjectInterface * | getObject (const CCopasiObjectName &cn) const |
CCopasiParameter * | getParameter (const std::string &name) |
const CCopasiParameter * | getParameter (const std::string &name) const |
CCopasiParameter * | getParameter (const size_t &index) |
const CCopasiParameter * | getParameter (const size_t &index) const |
CCopasiParameter::Type | getType (const std::string &name) const |
CCopasiParameter::Type | getType (const size_t &index) const |
std::string | getUniqueParameterName (const CCopasiParameter *pParameter) const |
const CCopasiParameter::Value & | getValue (const std::string &name) const |
const CCopasiParameter::Value & | getValue (const size_t &index) const |
CCopasiParameter::Value & | getValue (const std::string &name) |
CCopasiParameter::Value & | getValue (const size_t &index) |
CCopasiParameterGroup & | operator= (const CCopasiParameterGroup &rhs) |
bool | removeParameter (const std::string &name) |
bool | removeParameter (const size_t &index) |
template<class CType > | |
bool | setValue (const std::string &name, const CType &value) |
template<class CType > | |
bool | setValue (const size_t &index, const CType &value) |
size_t | size () const |
bool | swap (const size_t &iFrom, const size_t &iTo) |
bool | swap (index_iterator &from, index_iterator &to) |
virtual | ~CCopasiParameterGroup () |
![]() | |
CCopasiParameter (const CCopasiParameter &src, const CCopasiContainer *pParent=NULL) | |
CCopasiParameter (const std::string &name, const Type &type, const void *pValue=NULL, const CCopasiContainer *pParent=NULL, const std::string &objectType="Parameter") | |
virtual CCopasiObjectName | getCN () const |
virtual const std::string & | getKey () const |
virtual std::string | getObjectDisplayName (bool regular=true, bool richtext=false) const |
const CCopasiParameter::Type & | getType () const |
const Value & | getValue () const |
Value & | getValue () |
virtual void * | getValuePointer () const |
CCopasiObject * | getValueReference () const |
bool | isValidValue (const C_FLOAT64 &value) const |
bool | isValidValue (const C_INT32 &value) const |
bool | isValidValue (const unsigned C_INT32 &value) const |
bool | isValidValue (const bool &value) const |
bool | isValidValue (const std::string &value) const |
bool | isValidValue (const CCopasiObjectName &value) const |
bool | isValidValue (const std::vector< CCopasiParameter * > &value) const |
CCopasiParameter & | operator= (const CCopasiParameter &rhs) |
template<class CType > | |
bool | setValue (const CType &value) |
bool | setValue (const std::vector< CCopasiParameter * > &value) |
virtual | ~CCopasiParameter () |
![]() | |
virtual bool | add (CCopasiObject *pObject, const bool &adopt=true) |
CCopasiContainer (const std::string &name, const CCopasiContainer *pParent=NULL, const std::string &type="CN", const unsigned C_INT32 &flag=CCopasiObject::Container) | |
CCopasiContainer (const CCopasiContainer &src, const CCopasiContainer *pParent=NULL) | |
virtual std::string | getChildObjectUnits (const CCopasiObject *pObject) const |
virtual const objectMap & | getObjects () const |
virtual std::string | getUnits () const |
virtual const CCopasiObject * | getValueObject () const |
virtual bool | remove (CCopasiObject *pObject) |
virtual | ~CCopasiContainer () |
![]() | |
void | addDirectDependency (const CCopasiObject *pObject) |
CCopasiObject (const CCopasiObject &src, const CCopasiContainer *pParent=NULL) | |
void | clearDirectDependencies () |
void | clearRefresh () |
bool | dependsOn (DataObjectSet candidates, const DataObjectSet &context=DataObjectSet()) const |
void | getAllDependencies (DataObjectSet &dependencies, const DataObjectSet &context) const |
virtual const DataObjectSet & | getDirectDependencies (const DataObjectSet &context=DataObjectSet()) const |
CCopasiContainer * | getObjectAncestor (const std::string &type) const |
CCopasiDataModel * | getObjectDataModel () |
const CCopasiDataModel * | getObjectDataModel () const |
const std::string & | getObjectName () const |
CCopasiContainer * | getObjectParent () const |
const std::string & | getObjectType () const |
virtual const CObjectInterface::ObjectSet & | getPrerequisites () const |
virtual Refresh * | getRefresh () const |
UpdateMethod * | getUpdateMethod () const |
bool | hasCircularDependencies (DataObjectSet &candidates, DataObjectSet &verified, const DataObjectSet &context) const |
bool | hasUpdateMethod () const |
bool | isArray () const |
bool | isContainer () const |
bool | isDataModel () const |
bool | isMatrix () const |
bool | isNameVector () const |
bool | isNonUniqueName () const |
virtual bool | isPrerequisiteForContext (const CObjectInterface *pObject, const CMath::SimulationContextFlag &context, const CObjectInterface::ObjectSet &changedObjects) const |
bool | isReference () const |
bool | isRoot () const |
bool | isSeparator () const |
bool | isStaticString () const |
bool | isValueBool () const |
bool | isValueDbl () const |
bool | isValueInt () const |
bool | isValueInt64 () const |
bool | isValueString () const |
bool | isVector () const |
virtual bool | mustBeDeleted (const DataObjectSet &deletedObjects) const |
void | removeDirectDependency (const CCopasiObject *pObject) |
void | setDirectDependencies (const DataObjectSet &directDependencies) |
bool | setObjectName (const std::string &name) |
virtual bool | setObjectParent (const CCopasiContainer *pParent) |
void | setObjectValue (const C_FLOAT64 &value) |
void | setObjectValue (const C_INT32 &value) |
void | setObjectValue (const bool &value) |
template<class CType > | |
void | setRefresh (CType *pType, void(CType::*method)(void)) |
template<class CType > | |
void | setUpdateMethod (CType *pType, void(CType::*method)(const C_FLOAT64 &)) |
template<class CType > | |
void | setUpdateMethod (CType *pType, void(CType::*method)(const C_INT32 &)) |
template<class CType > | |
void | setUpdateMethod (CType *pType, void(CType::*method)(const bool &)) |
virtual | ~CCopasiObject () |
![]() | |
CObjectInterface () | |
virtual | ~CObjectInterface () |
Private Member Functions | |
bool | childLocalMin (void) |
virtual bool | cleanup () |
bool | closerChild (C_INT32 i, C_INT32 j, C_FLOAT64 dist) |
bool | closerRefSet (C_INT32 i, C_INT32 j, C_FLOAT64 dist) |
bool | combination (void) |
COptMethodSS (const CCopasiContainer *pParent=NULL) | |
bool | creation (void) |
bool | evaluate (const CVector< C_FLOAT64 > &individual) |
bool | inforefset (C_INT32 type, C_INT32 element) |
virtual bool | initialize () |
void | initObjects () |
bool | localmin (CVector< C_FLOAT64 > &solution, C_FLOAT64 &fval) |
bool | randomize (C_INT32 i) |
bool | serializechildren (size_t first, size_t last) |
bool | serializepool (size_t first, size_t last) |
bool | serializeprob (void) |
bool | serializerefset (C_INT32 first, C_INT32 last) |
bool | serializevector (CVector< C_FLOAT64 > x, C_FLOAT64 xval) |
void | sortRefSet (C_INT32 lower, C_INT32 upper) |
Private Attributes | |
size_t | mBestIndex |
C_FLOAT64 | mBestValue |
std::vector< CVector < C_FLOAT64 > * > | mChild |
bool | mChildrenGenerated |
CVector< C_FLOAT64 > | mChildVal |
C_FLOAT64 | mCloseValue |
C_FLOAT64 | mEvaluationValue |
std::vector< CVector< C_INT32 > * > | mFreq |
size_t | mhIterations |
unsigned C_INT32 | mIteration |
unsigned C_INT32 | mIterations |
unsigned C_INT32 | mLocalFreq |
unsigned C_INT32 | mLocalIter |
unsigned C_INT32 | mLocalStored |
COptMethod * | mpLocalMinimizer |
std::vector< CVector < C_FLOAT64 > * > | mPool |
size_t | mPoolSize |
CVector< C_FLOAT64 > | mPoolVal |
COptProblem * | mpOptProblemLocal |
C_INT32 | mPopulationSize |
CRandom * | mpRandom |
CVector< C_FLOAT64 > | mProb |
std::vector< CVector < C_FLOAT64 > * > | mRefSet |
CVector< C_FLOAT64 > | mRefSetVal |
CVector< C_INT32 > | mStuck |
unsigned C_INT32 | mVariableSize |
Friends | |
COptMethod * | COptMethod::createMethod (CCopasiMethod::SubType subType) |
Additional Inherited Members | |
![]() | |
enum | SubType { unset = 0, RandomSearch, RandomSearchMaster, SimulatedAnnealing, CoranaWalk, DifferentialEvolution, ScatterSearch, GeneticAlgorithm, EvolutionaryProgram, SteepestDescent, HybridGASA, GeneticAlgorithmSR, HookeJeeves, LevenbergMarquardt, NelderMead, SRES, Statistics, ParticleSwarm, Praxis, TruncatedNewton, Newton, deterministic, LSODAR, directMethod, stochastic, tauLeap, adaptiveSA, hybrid, hybridLSODA, hybridODE45, DsaLsodar, tssILDM, tssILDMModified, tssCSP, mcaMethodReder, scanMethod, lyapWolf, sensMethod, EFMAlgorithm, EFMBitPatternTreeAlgorithm, EFMBitPatternAlgorithm, Householder, crossSectionMethod, linearNoiseApproximation } |
![]() | |
typedef parameterGroup::iterator | index_iterator |
typedef CCopasiContainer::objectMap::iterator | name_iterator |
typedef std::vector < CCopasiParameter * > | parameterGroup |
![]() | |
enum | Type { DOUBLE = 0, UDOUBLE, INT, UINT, BOOL, GROUP, STRING, CN, KEY, FILE, EXPRESSION, INVALID } |
![]() | |
typedef std::multimap < std::string, CCopasiObject * > | objectMap |
![]() | |
typedef std::set< const CCopasiObject * > | DataObjectSet |
typedef std::vector< Refresh * > | DataUpdateSequence |
![]() | |
typedef std::set< const CObjectInterface * > | ObjectSet |
typedef std::vector < CObjectInterface * > | UpdateSequence |
![]() | |
static COptMethod * | createMethod (CCopasiMethod::SubType subType=CCopasiMethod::RandomSearch) |
![]() | |
static std::vector< Refresh * > | buildUpdateSequence (const DataObjectSet &objects, const DataObjectSet &uptoDateObjects, const DataObjectSet &context=DataObjectSet()) |
static void | setRenameHandler (CRenameHandler *rh) |
![]() | |
static const std::string | SubTypeName [] |
static const char * | XMLSubType [] |
![]() | |
static const std::string | TypeName [] |
static const char * | XMLType [] |
![]() | |
static const std::vector < CCopasiContainer * > | EmptyList |
![]() | |
enum | Flag { Container = 0x1, Vector = 0x2, Matrix = 0x4, NameVector = 0x8, Reference = 0x10, ValueBool = 0x20, ValueInt = 0x40, ValueInt64 = 0x80, ValueDbl = 0x100, NonUniqueName = 0x200, StaticString = 0x400, ValueString = 0x800, Separator = 0x1000, ModelEntity = 0x2000, Array = 0x4000, DataModel = 0x8000, Root = 0x10000, Gui = 0x20000 } |
![]() | |
COptMethod (const CCopasiTask::Type &taskType, const SubType &subType, const CCopasiContainer *pParent=NULL) | |
![]() | |
CCopasiMethod (const CCopasiTask::Type &taskType, const SubType &subType, const CCopasiContainer *pParent=NULL) | |
![]() | |
CCopasiParameterGroup () | |
![]() | |
template<class CType > | |
CCopasiObject * | addMatrixReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0) |
template<class CType > | |
CCopasiObject * | addObjectReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0) |
template<class CType > | |
CCopasiObject * | addVectorReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0) |
void | initObjects () |
![]() | |
CCopasiObject () | |
CCopasiObject (const std::string &name, const CCopasiContainer *pParent=NULL, const std::string &type="CN", const unsigned C_INT32 &flag=0) | |
![]() | |
const bool | mBounds |
const std::vector< COptItem * > * | mpOptContraints |
const std::vector< COptItem * > * | mpOptItem |
COptProblem * | mpOptProblem |
COptTask * | mpParentTask |
const std::vector < UpdateMethod * > * | mpSetCalculateVariable |
![]() | |
CProcessReport * | mpCallBack |
![]() | |
std::string | mKey |
CCopasiObject * | mpValueReference |
size_t | mSize |
Value | mValue |
![]() | |
objectMap | mObjects |
![]() | |
static CRenameHandler * | smpRenameHandler = NULL |
Definition at line 20 of file COptMethodSS.h.
COptMethodSS::COptMethodSS | ( | const COptMethodSS & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy Constructor
const | COptMethodSS & src |
const | CCopasiContainer * pParent (default: NULL) |
Definition at line 59 of file COptMethodSS.cpp.
References initObjects().
|
virtual |
|
private |
Default Constructor
const | CCopasiContainer * pParent (default: NULL) |
Definition at line 30 of file COptMethodSS.cpp.
References CCopasiParameterGroup::addParameter(), C_INT32, initObjects(), CRandom::mt19937, and CCopasiParameter::UINT.
|
private |
minimize the best child if within criteria
Definition at line 1017 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, closerChild(), localmin(), mChild, mChildVal, mCloseValue, mLocalIter, mLocalStored, mPool, mPoolVal, mPopulationSize, and mStuck.
Referenced by optimise().
|
privatevirtual |
Cleanup arrays and pointers.
Reimplemented from COptMethod.
Definition at line 267 of file COptMethodSS.cpp.
References mChild, mFreq, mpLocalMinimizer, mPool, mpOptProblemLocal, mpRandom, mRefSet, and pdelete.
Referenced by initialize(), optimise(), and ~COptMethodSS().
check if two child vectors are close (one vector in mChild, the other in mPool, where previous child are stored)
Definition at line 799 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, mChild, mPool, and mVariableSize.
Referenced by childLocalMin().
check if two vectors in RefSet are close
Definition at line 815 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, mRefSet, and mVariableSize.
Referenced by optimise().
|
private |
create new individuals with the combination method
Definition at line 831 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, COptItem::checkConstraint(), evaluate(), COptItem::getLowerBoundValue(), CRandom::getRandomCC(), COptItem::getUpperBoundValue(), max, mChild, mChildrenGenerated, mChildVal, mEvaluationValue, min, mPopulationSize, mpRandom, mRefSet, mRefSetVal, mStuck, mVariableSize, and CVector< CType >::resize().
Referenced by optimise().
|
private |
Initialise the population
Definition at line 416 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, COptItem::checkConstraint(), evaluate(), COptItem::getLowerBoundValue(), CRandom::getRandomCC(), COptItem::getStartValue(), COptItem::getUpperBoundValue(), max, mEvaluationValue, mFreq, min, mPool, mPoolSize, mPoolVal, mPopulationSize, mpRandom, mProb, mRefSet, mRefSetVal, mStuck, mVariableSize, and sortRefSet().
Referenced by optimise().
|
virtual |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
Reimplemented from CCopasiParameterGroup.
Definition at line 86 of file COptMethodSS.cpp.
References CCopasiParameterGroup::removeParameter().
Evaluate the fitness of one individual
const | CVector< C_FLOAT64 > & individual |
Definition at line 332 of file COptMethodSS.cpp.
References COptProblem::calculate(), COptProblem::checkFunctionalConstraints(), COptProblem::getCalculateValue(), mEvaluationValue, and COptMethod::mpOptProblem.
Referenced by combination(), creation(), and randomize().
write informative messages about the refset
size_t | type |
|
privatevirtual |
Initialize arrays and pointer.
Reimplemented from COptMethod.
Definition at line 100 of file COptMethodSS.cpp.
References CProcessReport::addItem(), C_FLOAT64, C_INT32, cleanup(), CRandom::createGenerator(), COptMethod::createMethod(), CProcessReport::finishItem(), CCopasiObject::getObjectParent(), CCopasiParameter::getValue(), CCopasiMethod::HookeJeeves, COptProblem::initialize(), COptMethod::initialize(), COptProblem::initializeSubtaskBeforeOutput(), CCopasiMethod::LevenbergMarquardt, mBestValue, mChild, mChildrenGenerated, mChildVal, mCloseValue, mFreq, mhIterations, mIteration, mIterations, mLocalFreq, CCopasiMethod::mpCallBack, mpLocalMinimizer, mPool, mPoolSize, mPoolVal, COptMethod::mpOptItem, COptMethod::mpOptProblem, mpOptProblemLocal, mPopulationSize, mpRandom, mProb, mRefSet, mRefSetVal, mStuck, mVariableSize, CCopasiParameter::Value::pUINT, CVector< CType >::resize(), COptProblem::setCalculateStatistics(), COptProblem::setCallBack(), CCopasiObject::setObjectParent(), COptMethod::setProblem(), COptProblem::setRandomizeStartValues(), and CCopasiParameterGroup::setValue().
Referenced by optimise().
|
private |
Initialize contained objects.
Definition at line 95 of file COptMethodSS.cpp.
References CCopasiContainer::addObjectReference(), mIteration, and CCopasiObject::ValueInt.
Referenced by COptMethodSS().
Find a local minimum
CVector< | C_FLOAT64 > & solution |
C_FLOAT64 | & fval |
Definition at line 295 of file COptMethodSS.cpp.
References C_INT32, COptProblem::getFunctionEvaluations(), COptProblem::getOptItemList(), COptProblem::getSolutionValue(), COptProblem::getSolutionVariables(), COptProblem::incrementEvaluations(), mpLocalMinimizer, COptMethod::mpOptProblem, mpOptProblemLocal, mVariableSize, COptMethod::optimise(), COptProblem::reset(), and COptProblem::resetEvaluations().
Referenced by childLocalMin(), and optimise().
|
virtual |
Execute the optimization algorithm calling simulation routine when needed. It is noted that this procedure can give feedback of its progress by the callback function set with SetCallback. @ return success;
Reimplemented from COptMethod.
Definition at line 1070 of file COptMethodSS.cpp.
References C_FLOAT64, childLocalMin(), cleanup(), closerRefSet(), combination(), creation(), COutputInterface::DURING, CProcessReport::finishItem(), COptProblem::getSolutionVariables(), initialize(), localmin(), mBestValue, mChild, mChildrenGenerated, mChildVal, mCloseValue, mhIterations, mIteration, mIterations, mLocalFreq, mLocalIter, mLocalStored, CCopasiMethod::mpCallBack, mpLocalMinimizer, mPoolSize, COptMethod::mpOptProblem, mPopulationSize, COptMethod::mpParentTask, mRefSet, mRefSetVal, mStuck, CCopasiTask::output(), CProcessReport::progressItem(), randomize(), COptProblem::setSolution(), CCopasiParameterGroup::setValue(), and sortRefSet().
|
private |
randomize an element of the RefSet
Definition at line 352 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, COptItem::checkConstraint(), evaluate(), COptItem::getLowerBoundValue(), CRandom::getRandomCC(), COptItem::getUpperBoundValue(), max, mEvaluationValue, min, mpRandom, mRefSet, mRefSetVal, mStuck, and mVariableSize.
Referenced by optimise().
|
private |
Serialize the children for debug
size_t | first |
size_t | last (default: population size) |
|
private |
Serialize the pool for debug
size_t | first |
size_t | last (default: pool size) |
|
private |
Serialize the probability table for debug
Serialize the refset for debug
size_t | first |
size_t | last (default: population size) |
Serialize a vector to the refset file ,for debug
x | the vector |
xval | function value for that vector |
sort the RefSet array between position lower and upper
Definition at line 729 of file COptMethodSS.cpp.
References C_FLOAT64, C_INT32, mRefSet, mRefSetVal, and mStuck.
Referenced by creation(), and optimise().
|
friend |
|
private |
index of the best value so far
Definition at line 284 of file COptMethodSS.h.
|
private |
The best value so far
Definition at line 279 of file COptMethodSS.h.
Referenced by initialize(), and optimise().
Array of children for the candidate solutions in the RefSet.
Definition at line 233 of file COptMethodSS.h.
Referenced by childLocalMin(), cleanup(), closerChild(), combination(), initialize(), and optimise().
|
private |
True if there were children produced
Definition at line 212 of file COptMethodSS.h.
Referenced by combination(), initialize(), and optimise().
Array of objective function values of the Children.
Definition at line 238 of file COptMethodSS.h.
Referenced by childLocalMin(), combination(), initialize(), and optimise().
|
private |
Threshold to decide a solution is too close to another
Definition at line 289 of file COptMethodSS.h.
Referenced by childLocalMin(), initialize(), and optimise().
|
private |
The value of the last evaluation.
Definition at line 269 of file COptMethodSS.h.
Referenced by combination(), creation(), evaluate(), and randomize().
Array to store frequencies.
Definition at line 259 of file COptMethodSS.h.
Referenced by cleanup(), creation(), and initialize().
|
private |
Handle to the process report item "Current Iteration".
Definition at line 294 of file COptMethodSS.h.
Referenced by initialize(), and optimise().
|
private |
Counter for iterations.
Definition at line 274 of file COptMethodSS.h.
Referenced by initialize(), initObjects(), and optimise().
|
private |
Number of generations.
Definition at line 182 of file COptMethodSS.h.
Referenced by initialize(), and optimise().
|
private |
Number of iterations between local searches.
Definition at line 197 of file COptMethodSS.h.
Referenced by initialize(), and optimise().
|
private |
Counts iterations between local searches.
Definition at line 202 of file COptMethodSS.h.
Referenced by childLocalMin(), and optimise().
|
private |
Number of local minimizations stored
Definition at line 207 of file COptMethodSS.h.
Referenced by childLocalMin(), and optimise().
|
private |
a pointer to an opt method used for local minimization
Definition at line 309 of file COptMethodSS.h.
Referenced by cleanup(), initialize(), localmin(), and optimise().
Pool of candidate solutions to be incorporated in RefSet (S in Rodriguez-Fernandez et al.).
Definition at line 244 of file COptMethodSS.h.
Referenced by childLocalMin(), cleanup(), closerChild(), creation(), and initialize().
|
private |
Size of the Pool.
Definition at line 254 of file COptMethodSS.h.
Referenced by creation(), initialize(), and optimise().
Function values of candidate solutions in the Pool.
Definition at line 249 of file COptMethodSS.h.
Referenced by childLocalMin(), creation(), and initialize().
|
private |
a pointer to an opt problem used for local minimization
Definition at line 304 of file COptMethodSS.h.
Referenced by cleanup(), initialize(), and localmin().
|
private |
Size of the population (b in Rodriguez-Fernandez et al).
Definition at line 187 of file COptMethodSS.h.
Referenced by childLocalMin(), combination(), creation(), initialize(), and optimise().
|
private |
a pointer to the randomnumber generator.
Definition at line 299 of file COptMethodSS.h.
Referenced by cleanup(), combination(), creation(), initialize(), and randomize().
Array to store probabilities.
Definition at line 264 of file COptMethodSS.h.
Referenced by creation(), and initialize().
Array of candidate solutions in the RefSet.
Definition at line 217 of file COptMethodSS.h.
Referenced by cleanup(), closerRefSet(), combination(), creation(), initialize(), optimise(), randomize(), and sortRefSet().
Array of objective function values of the RefSet.
Definition at line 222 of file COptMethodSS.h.
Referenced by combination(), creation(), initialize(), optimise(), randomize(), and sortRefSet().
Array of integers to count number of iterations that candidate solutions have not changed in the RefSet.
Definition at line 228 of file COptMethodSS.h.
Referenced by childLocalMin(), combination(), creation(), initialize(), optimise(), randomize(), and sortRefSet().
|
private |
Number of parameters.
Definition at line 192 of file COptMethodSS.h.
Referenced by closerChild(), closerRefSet(), combination(), creation(), initialize(), localmin(), and randomize().