 class  PatternSearch : public DirectSearch
  class  PatternSearch : public DirectSearch The PatternSearch class is derived from the DirectSearch class
 Constructors & Destructor
  Constructors & Destructor  
  PatternSearch(long dim, Vector<double> &startPoint)
  PatternSearch(long dim, Vector<double> &startPoint) 
  PatternSearch(const PatternSearch & Original)
  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)
  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) 
  virtual  ~PatternSearch()
 virtual  ~PatternSearch() 
  Other Initialization Methods
  Other Initialization Methods 
  virtual  PatternSearch&  operator=(const PatternSearch& A)
 virtual  PatternSearch&  operator=(const PatternSearch& A) 
  virtual  void  CleanSlate(long dim, Vector<double> &startpoint)
 virtual  void  CleanSlate(long dim, Vector<double> &startpoint) 
  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)
 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) 
  void  InitializeDesign(long patternSize, const Matrix<double> * designPtr)
 void  InitializeDesign(long patternSize, const Matrix<double> * designPtr) 
  void  ReadInFile(istream & fp)
 void  ReadInFile(istream & fp) 
  void  PrintDesign() const
 void  PrintDesign() const  
  Search method
  Search method  
  virtual  void  BeginSearch()
 virtual  void  BeginSearch() 
  Accessors
  Accessors  
  void  GetPatternLength(long & pattern) const
 void  GetPatternLength(long & pattern) const  
  double  GetDelta() const
 double  GetDelta() const  
  void  GetInitialStepLength(double & stepLen)
 void  GetInitialStepLength(double & stepLen) 
  void  SetInitialStepLength(double & stepLen)
 void  SetInitialStepLength(double & stepLen) 
  long  patternLength
 long  patternLength 
  double  delta
 double  delta 
  double  initialStepLength
 double  initialStepLength 
  virtual  bool  Stop()
 virtual  bool  Stop() 
  virtual  void  ExploratoryMoves()
 virtual  void  ExploratoryMoves() 
  virtual  void  CopySearch(const PatternSearch & Original)
 virtual  void  CopySearch(const PatternSearch & Original) 
  virtual  void  NextPoint(long index, const Vector<double> & currentPoint, Vector<double> & nextPoint)
 virtual  void  NextPoint(long index, const Vector<double> & currentPoint, Vector<double> & nextPoint) 
  virtual  void  ReplaceMinimum(Vector<double> & newPoint, double newValue)
 virtual  void  ReplaceMinimum(Vector<double> & newPoint, double newValue) 
  virtual  void  ScalePattern(double scalar)
 virtual  void  ScalePattern(double scalar) 
  static  const  long  NO_MAX
 static  const  long  NO_MAX
Constructors and destructor
 DirectSearch(long dim, Vector<double> &startPoint)
  DirectSearch(long dim, Vector<double> &startPoint) 
  DirectSearch(const DirectSearch & Original)
  DirectSearch(const DirectSearch & Original) 
  DirectSearch(long dim, Vector<double> &startPoint, double stopStep, void (*objective)(long vars, Vector<double> &x, double &func, bool &flag, void* an_obj), void * input_obj)
  DirectSearch(long dim, Vector<double> &startPoint, double stopStep, void (*objective)(long vars, Vector<double> &x, double &func, bool &flag, void* an_obj), void * input_obj) 
  virtual  ~DirectSearch()
 virtual  ~DirectSearch() 
  DirectSearch&  operator=(const DirectSearch& A)
 DirectSearch&  operator=(const DirectSearch& A) 
 Other initialization methods
 virtual  void  ReadInFile(istream & fp)
 virtual  void  ReadInFile(istream & fp) 
  virtual  void  CleanSlate(long dim, Vector<double> & startPoint)
 virtual  void  CleanSlate(long dim, Vector<double> & startPoint) 
  virtual  void  CleanSlate(long dim, Vector<double> &startPoint, double stopStep, void (*objective)(long vars, Vector<double> &x, double &func, bool &flag, void* an_obj), void * input_obj)
 virtual  void  CleanSlate(long dim, Vector<double> &startPoint, double stopStep, void (*objective)(long vars, Vector<double> &x, double &func, bool &flag, void* an_obj), void * input_obj) 
  void  InitializeDesign(const Matrix<double> *designPtr)
 void  InitializeDesign(const Matrix<double> *designPtr) 
  virtual  void  PrintDesign() const
 virtual  void  PrintDesign() const  
 Accessors and Mutators
 long  GetFunctionCalls() const
 long  GetFunctionCalls() const  
  void  SetFunctionCalls(long newCalls)
 void  SetFunctionCalls(long newCalls) 
  int  GetID() const
 int  GetID() const  
  void  GetMinPoint(Vector<double> & minimum) const
 void  GetMinPoint(Vector<double> & minimum) const  
  void  SetMinPoint(Vector<double> & minimum) const
 void  SetMinPoint(Vector<double> & minimum) const  
  void  GetMinVal(double & value) const
 void  GetMinVal(double & value) const  
  void  SetMinVal(double & value)
 void  SetMinVal(double & value) 
  long  GetDimension() const
 long  GetDimension() const  
  long  GetMaxCalls() const
 long  GetMaxCalls() const  
  void  SetMaxCalls(long calls)
 void  SetMaxCalls(long calls) 
  void  SetMaxCallsExact(long calls)
 void  SetMaxCallsExact(long calls) 
  Matrix <double> *  GetDesign()
 Matrix <double> *  GetDesign() 
  void  CopyDesign(Matrix<double>* &designPtr) const
 void  CopyDesign(Matrix<double>* &designPtr) const  
  double  GetStoppingStepLength() const
 double  GetStoppingStepLength() const  
  void  SetStoppingStepLength(double len)
 void  SetStoppingStepLength(double len) 
  virtual  void  SetExact()
 virtual  void  SetExact() 
  virtual  void  SetInexact()
 virtual  void  SetInexact() 
  virtual  bool  IsExact()
 virtual  bool  IsExact() 
  Matrix <double> *  design
 Matrix <double> *  design
 long  dimension
 long  dimension
 Vector <double> *  minPoint
 Vector <double> *  minPoint
 double  minValue
 double  minValue
 long  functionCalls
 long  functionCalls
 long  maxCalls
 long  maxCalls
 double  stoppingStepLength
 double  stoppingStepLength
 void*  some_object
 void*  some_object
 bool  exact_count
 bool  exact_count
 int  IDnumber
 int  IDnumber
 void  fcnCall(long n, Vector<double> &x, double & f, bool& flag, void * nothing)
 void  fcnCall(long n, Vector<double> &x, double & f, bool& flag, void * nothing)
 bool  BreakOnExact()
 bool  BreakOnExact()
 void (*fcn_name)(long dim, Vector<double> &x, double & function, bool & success, void* an_object)
 void (*fcn_name)(long dim, Vector<double> &x, double & function, bool & success, void* an_object)
The PatternSearch class is derived from the DirectSearch class. PatternSearch is an abstract base class.
 Constructors & Destructor
  Constructors & Destructor 
 PatternSearch(long dim, Vector<double> &startPoint)
  PatternSearch(long dim, Vector<double> &startPoint)
 
 PatternSearch(const PatternSearch & Original)
  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)
  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.
 Other Initialization Methods
  Other Initialization Methods
 virtual  PatternSearch&  operator=(const PatternSearch& A)
 virtual  PatternSearch&  operator=(const PatternSearch& A)
 
 
 
 
 virtual  void  CleanSlate(long dim, Vector<double> &startpoint)
 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)
 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)
 void  InitializeDesign(long patternSize, const Matrix<double> * designPtr)
pat -  a pointer to a design matrix 
 void  ReadInFile(istream & fp)
 void  ReadInFile(istream & fp)
 void  PrintDesign() const
 void  PrintDesign() const 
 Search method
  Search method 
 virtual  void  BeginSearch()
 virtual  void  BeginSearch()
 Accessors
  Accessors 
 void  GetPatternLength(long & pattern) const
 void  GetPatternLength(long & pattern) const 
 
 
 double  GetDelta() const
 double  GetDelta() const 
 void  GetInitialStepLength(double & stepLen)
 void  GetInitialStepLength(double & stepLen)
 void  SetInitialStepLength(double & stepLen)
 void  SetInitialStepLength(double & stepLen)
 virtual  bool  Stop()
 virtual  bool  Stop()
 
 
 
 
 
 virtual  void  ExploratoryMoves()
 virtual  void  ExploratoryMoves()
 virtual  void  CopySearch(const PatternSearch & Original)
 virtual  void  CopySearch(const PatternSearch & Original)
 virtual  void  NextPoint(long index, const Vector<double> & currentPoint, Vector<double> & nextPoint)
 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)
 virtual  void  ReplaceMinimum(Vector<double> & newPoint, double newValue)
newValue -  the value that will be assigned to minValue
 virtual  void  ScalePattern(double scalar)
 virtual  void  ScalePattern(double scalar)
 long  patternLength
 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