Package org.drip.function.r1tor1solver
Class ExecutionInitializationOutput
java.lang.Object
org.drip.function.r1tor1solver.ExecutionInitializationOutput
- Direct Known Subclasses:
BracketingOutput
,ConvergenceOutput
public abstract class ExecutionInitializationOutput
extends java.lang.Object
ExecutionInitializationOutput holds the output of the root initializer calculation.
The following are the fields held by ExecutionInitializationOutput:
The following are the fields held by ExecutionInitializationOutput:
- Whether the initialization completed successfully
- The number of iterations, the number of objective function calculations, and the time taken for the initialization
- The starting variate from the initialization
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in R1 To R1 Solvers
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description java.lang.String
displayString()
Return a string form of the Initializer outputint
getNumIterations()
Return The number of Iterations consumedint
getNumOFCalcs()
Retrieve the number of objective function calculations neededint
getNumOFDerivCalcs()
Retrieve the number of objective function derivative calculations neededdouble
getStartingVariate()
Return the Starting Variateboolean
incrIterations()
Increment the Number of Iterationsboolean
incrOFCalcs()
Increment the Number of Objective Function Evaluationsboolean
incrOFDerivCalcs()
Increment the number of Objective Function Derivative evaluationsboolean
isDone()
Indicate if the execution initialization is doneboolean
setStartingVariate(double dblStartingVariate)
Set the Starting Variatedouble
time()
Return the time elapsed for the execution initialization operationMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
incrIterations
public final boolean incrIterations()Increment the Number of Iterations- Returns:
- TRUE - Successfully incremented
-
getNumIterations
public final int getNumIterations()Return The number of Iterations consumed- Returns:
- Number of Iterations consumed
-
incrOFCalcs
public final boolean incrOFCalcs()Increment the Number of Objective Function Evaluations- Returns:
- TRUE - Successfully incremented
-
getNumOFCalcs
public final int getNumOFCalcs()Retrieve the number of objective function calculations needed- Returns:
- Number of objective function calculations needed
-
incrOFDerivCalcs
public final boolean incrOFDerivCalcs()Increment the number of Objective Function Derivative evaluations- Returns:
- TRUE - Successfully incremented
-
getNumOFDerivCalcs
public final int getNumOFDerivCalcs()Retrieve the number of objective function derivative calculations needed- Returns:
- Number of objective function derivative calculations needed
-
isDone
public final boolean isDone()Indicate if the execution initialization is done- Returns:
- TRUE - Execution initialization is done
-
time
public final double time()Return the time elapsed for the execution initialization operation- Returns:
- execution initialization time
-
setStartingVariate
public boolean setStartingVariate(double dblStartingVariate)Set the Starting Variate- Parameters:
dblStartingVariate
- Starting Variate- Returns:
- TRUE - Starting Variate set successfully
-
getStartingVariate
public double getStartingVariate()Return the Starting Variate- Returns:
- Starting Variate
-
displayString
public java.lang.String displayString()Return a string form of the Initializer output- Returns:
- String form of the Initializer output
-