meshi.optimizers
Class LineSearch

java.lang.Object
  extended by meshi.optimizers.LineSearch
Direct Known Subclasses:
SimpleStepLength, WolfConditionLineSearch

public abstract class LineSearch
extends java.lang.Object

An abstract class of the common function calls in all the Line-Search procedure. If the simulation is at point Xk,and a descent direction is Pk, findStepLength gives a scalar Ak, that says how much to travel along Pk. So that Xk+1 = Xk + Ak*Pk. The coordinates of the initial point (Xk) should be given in the first column of the argument 'coordinates'. The direction of search (Pk) (direction + magnitude) from the initial point sould be given in the second column of 'coordinates'.


Field Summary
protected  TotalEnergy energy
           
 
Constructor Summary
LineSearch(TotalEnergy energy)
           
 
Method Summary
abstract  double findStepLength(double[][] coordinates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

energy

protected TotalEnergy energy
Constructor Detail

LineSearch

public LineSearch(TotalEnergy energy)
Method Detail

findStepLength

public abstract double findStepLength(double[][] coordinates)
                               throws LineSearchException
Throws:
LineSearchException