Inheritance diagram for ObjCryst::SimplexObj:
Public Member Functions | |
SimplexObj (const string name="Unnamed Simplex Object") | |
Constructor. | |
virtual void | Optimize (long &nbSteps, const bool silent=false, const REAL finalcost=0, const REAL maxTime=-1) |
Launch optimization (a single run) for N steps. | |
virtual void | MultiRunOptimize (long &nbCycle, long &nbSteps, const bool silent=false, const REAL finalcost=0, const REAL maxTime=-1) |
Launch optimization for multiple runs of N steps. | |
virtual void | XMLOutput (ostream &os, int indent=0) const |
Output a description of the object in XML format to a stream. | |
virtual void | XMLInput (istream &is, const XMLCrystTag &tag) |
Input in XML format from a stream, restoring the set of refined objects and the associated cost functions. Note that the corresponding objects must have been loaded in memory before, else shit happens. | |
Private Member Functions | |
REAL | GenerateNewSimplexConfiguration (CrystVector_REAL &vLLK, CrystVector_long &vIndex, unsigned long worst, REAL f) |
Try a new configuration by expanding the worst vertex from the center by a factor f. |
currently does not handle parameters hitting limits, and is not very efficient (uses numerical derivatives)
|
Constructor.
|
|
Try a new configuration by expanding the worst vertex from the center by a factor f. If it is better, store it as new worst. Return the new obtained llk |
|
Launch optimization for multiple runs of N steps.
Implements ObjCryst::OptimizationObj. |
|
Launch optimization (a single run) for N steps.
Implements ObjCryst::OptimizationObj. |
|
Input in XML format from a stream, restoring the set of refined objects and the associated cost functions. Note that the corresponding objects must have been loaded in memory before, else shit happens.
Implements ObjCryst::OptimizationObj. |
|
Output a description of the object in XML format to a stream. This saves the list of refined object and the cost functions, as well as options for the refinement. The refined objects are not saved, so this must be done somewhere else (they must be reloaded before this object). Implements ObjCryst::OptimizationObj. |