Package pulse.search.direction
Class ComplexPath
- java.lang.Object
-
- pulse.search.direction.IterativeState
-
- pulse.search.direction.GradientGuidedPath
-
- pulse.search.direction.ComplexPath
-
- All Implemented Interfaces:
Serializable
public class ComplexPath extends GradientGuidedPath
A more complex version of
Path, which in addition to other variables stores the Hessian matrix at the current step. Note theresetmethod is overriden.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplexPath(GeneralTask task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(GeneralTask task)In addition to the superclass method, resets the Hessian to an Identity matrix.SquareMatrixgetHessian()SquareMatrixgetInverseHessian()voidsetHessian(SquareMatrix hes)voidsetInverseHessian(SquareMatrix inverseHessian)-
Methods inherited from class pulse.search.direction.GradientGuidedPath
getDirection, getGradient, getMinimumPoint, setDirection, setGradient, setLinearStep
-
Methods inherited from class pulse.search.direction.IterativeState
getCost, getFailedAttempts, getIteration, getParameters, incrementFailedAttempts, incrementStep, reset, resetFailedAttempts, setCost, setParameters
-
-
-
-
Constructor Detail
-
ComplexPath
protected ComplexPath(GeneralTask task)
-
-
Method Detail
-
configure
public void configure(GeneralTask task)
In addition to the superclass method, resets the Hessian to an Identity matrix.- Overrides:
configurein classGradientGuidedPath- Parameters:
task-
-
getHessian
public SquareMatrix getHessian()
-
setHessian
public void setHessian(SquareMatrix hes)
-
getInverseHessian
public SquareMatrix getInverseHessian()
-
setInverseHessian
public void setInverseHessian(SquareMatrix inverseHessian)
-
-