- java.lang.Object
-
- org.quantlib.EndCriteria
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class EndCriteria extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndCriteria.Type
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndCriteria(long cPtr, boolean cMemoryOwn)EndCriteria(long maxIteration, long maxStationaryStateIterations, double rootEpsilon, double functionEpsilon, double gradientNormEpsilon)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(EndCriteria obj)booleangetValue(long iteration, SWIGTYPE_p_std__size_t statState, boolean positiveOptimization, double fold, double normgold, double fnew, double normgnewx, SWIGTYPE_p_EndCriteria__Type ecType)protected voidswigSetCMemOwn(boolean own)
-
-
-
Constructor Detail
-
EndCriteria
protected EndCriteria(long cPtr, boolean cMemoryOwn)
-
EndCriteria
public EndCriteria(long maxIteration, long maxStationaryStateIterations, double rootEpsilon, double functionEpsilon, double gradientNormEpsilon)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(EndCriteria obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
getValue
public boolean getValue(long iteration, SWIGTYPE_p_std__size_t statState, boolean positiveOptimization, double fold, double normgold, double fnew, double normgnewx, SWIGTYPE_p_EndCriteria__Type ecType)
-
-