The PatternSearch class is derived from the DirectSearch class
Constructors and destructor
Other initialization methods
Accessors and Mutators
The PatternSearch class is derived from the DirectSearch class. PatternSearch is an abstract base class.
PatternSearch(const PatternSearch & Original)
PatternSearch(long dim, Vector<double> &startPoint, double startStep, double stopStep, void (*objective)(long vars, Vector<double> &x, double & func, bool& flag, void* an_obj), void * input_obj)
startPoint - a Vector of doubles, the starting point for the search
startStep - the beginning delta, or lattice step length
stopStep - the stopping step length for the search
objective - a pointer to the function to be minimized
input_obj - used to send additional data as needed--will
normally be set to NULL.
virtual void CleanSlate(long dim, Vector<double> &startpoint)
startPoint - the new starting point for the search
virtual void CleanSlate(long dim, Vector<double> &startpoint, double startStep, double stopStep, void (*objective)(long vars, Vector<double> &x, double & func, bool& flag, void* an_obj), void * input_obj)
startPoint - a Vector of doubles, the starting point for the search
startStep - the beginning delta, or lattice step length
stopStep - the stopping step length for the search
objective - a pointer to the function to be minimized
input_obj - used to send additional data as needed--will
normally be set to NULL.
void InitializeDesign(long patternSize, const Matrix<double> * designPtr)
pat - a pointer to a design matrix
void ReadInFile(istream & fp)
void PrintDesign() const
double GetDelta() const
void GetInitialStepLength(double & stepLen)
void SetInitialStepLength(double & stepLen)
virtual void ExploratoryMoves()
virtual void CopySearch(const PatternSearch & Original)
virtual void NextPoint(long index, const Vector<double> & currentPoint, Vector<double> & nextPoint)
currentPoint - a reference to the current vector
nextPoint - a reference to a vector, which will be assigned
the value of the appropriate point to be evaluated next.
virtual void ReplaceMinimum(Vector<double> & newPoint, double newValue)
newValue - the value that will be assigned to minValue
virtual void ScalePattern(double scalar)
long patternLength
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de