|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This is the implementation class of the Metropolis optimiser. This is a stochastic algorithm in which uphill moves a sometimes permitted in order to help prevent the solution from settling in a local minimum.
Parent Classes:
Methods:
- NumOptSimmAnnContinuousC(UIntT iterations,RealT Tau,RealT minTemp,RealT ftol)
-
Constructor
| iterations | maximum number of iterations to use |
| Tau | constant |
| minTemp | the minimum temperature to be used during the annealing schedule |
| ftol | the accepted tolerance for early exit |
|
- NumOptSimmAnnContinuousC(const NumOptSimmAnnContinuousC & oth)
-
- NumOptSimmAnnContinuousC(NumOptSimmAnnContinuousBC & oth)
-
- NumOptSimmAnnContinuousC & operator=(const NumOptSimmAnnContinuousC & cost)
-
Assigment of cost object.
- NumOptSimmAnnContinuousC Copy() const
-
Makes a deep copy
- VectorC GetRandomX(const VectorC & X,const VectorC & minX,const VectorC & maxX) const
-
return a random vector
- NumOptSimmAnnContinuousBC & Body()
-
Access Body
- const NumOptSimmAnnContinuousBC & Body() const
-
Access Body
- NumOptimiseBC & CastHandleOptimise() const
-
- NumOptimiseC Copy() const
-
Makes a deep copy
- NumOptimiseC & operator=(const NumOptimiseC & oth)
-
Assignment operator
- VectorC MinimalX(const NumCostC & domain)
-
Do the Optimisation. Determines which X gives minimum cost function value
- VectorC MaximalX(const NumCostC & domain)
-
Do the Optimisation. Determines which X gives maximum cost function value
- const StringC GetInfo() const
-
Gets string describing object
- const StringC GetName() const
-
Gets type name of the object
- BooleanT Save(ostream & out) const
-
Writes object to stream, cna be loaded using constructor
- RCAbstractC Abstract()
-
Create an abstract handle to this object.
- BooleanT IsHandleType(const DT &) const
-
Is handle of given type ?
- void CheckHandleType(const DT & dummy) const
-
Check handle type. Throw an expception if not.
- BooleanT Save(ostream & out) const
-
Save to ostream.
- RCHandleAC<NumOptimiseBC> Copy() const
-
Creat a deep copy of this object.
protected:
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<NumOptimiseBC> & operator=(const RCHandleC<NumOptimiseBC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<NumOptimiseBC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<NumOptimiseBC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- NumOptimiseBC & Body()
-
Direct access to body.
- const NumOptimiseBC & Body() const
-
Constant access to body.
|
Programmer:Ratna Rambaruth, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|