meshi.optimizers
Class LineSearch
java.lang.Object
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'.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
energy
protected TotalEnergy energy
LineSearch
public LineSearch(TotalEnergy energy)
findStepLength
public abstract double findStepLength(double[][] coordinates)
throws LineSearchException
- Throws:
LineSearchException