00001 // QMcBeaver 00002 // 00003 // Constructed by 00004 // 00005 // Michael Todd Feldmann 00006 // and 00007 // David Randall "Chip" Kent IV 00008 // 00009 // Copyright 2000-2. All rights reserved. 00010 // 00011 // drkent@users.sourceforge.net mtfeldmann@users.sourceforge.net 00012 00013 #ifndef QMCLineSearchStepLengthSelectionAlgorithm_H 00014 #define QMCLineSearchStepLengthSelectionAlgorithm_H 00015 00016 #include "QMCObjectiveFunction.h" 00017 00023 class QMCLineSearchStepLengthSelectionAlgorithm 00024 { 00025 public: 00029 virtual ~QMCLineSearchStepLengthSelectionAlgorithm(){} 00030 00038 virtual double stepLength(QMCObjectiveFunction *function, 00039 Array1D<double> & array1, 00040 Array1D<double> & array2, 00041 Array1D<double> & array3, 00042 Array2D<double> & matrix1, 00043 double scalar1) = 0; 00044 00045 }; 00046 00047 #endif