Package org.drip.function.r1tor1solver
Class ExecutionInitializer
java.lang.Object
org.drip.function.r1tor1solver.ExecutionInitializer
public class ExecutionInitializer
extends java.lang.Object
ExecutionInitializer implements the initialization execution and customization functionality.
ExecutionInitializer performs two types of variate initialization:
ExecutionInitializer performs two types of variate initialization:
- Bracketing initialization: This brackets the fixed point using the bracketing algorithm described in https://lakshmidrip.github.io/DROP-Numerical-Core/. If successful, a pair of variate/OF coordinate nodes that bracket the fixed point are generated. These brackets are eventually used by routines that iteratively determine the fixed point. Bracketing initialization is controlled by the parameters in BracketingControlParams.
- Convergence Zone initialization: This generates a variate that lies within the convergence zone for the iterative determination of the fixed point using the Newton's method. Convergence Zone Determination is controlled by the parameters in ConvergenceControlParams.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in R1 To R1 Solvers
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ExecutionInitializer(R1ToR1 of, ConvergenceControlParams ccp, boolean bTrendBracketRight)
ExecutionInitializer constructor -
Method Summary
Modifier and Type Method Description BracketingOutput
initializeBracket(InitializationHeuristics ih, double dblOFGoal)
Set up the bracket to be used for the eventual search kick-offConvergenceOutput
initializeVariate(InitializationHeuristics ih, double dblOFGoal)
Initialize the starting variate to within the fixed point convergence zoneBracketingOutput
verifyHardSearchEdges(InitializationHeuristics ih, double dblOFGoal)
Initialize the starting bracket within the specified boundaryMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExecutionInitializer
public ExecutionInitializer(R1ToR1 of, ConvergenceControlParams ccp, boolean bTrendBracketRight) throws java.lang.ExceptionExecutionInitializer constructor- Parameters:
of
- Objective Functionccp
- Convergence Control ParametersbTrendBracketRight
- TRUE - Start Right Trending in search of a Bracket Variate- Throws:
java.lang.Exception
- Thrown if inputs are invalid
-
-
Method Details
-
initializeBracket
Set up the bracket to be used for the eventual search kick-off- Parameters:
ih
- Optional InitializationHeuristics instancedblOFGoal
- The OF Goal- Returns:
- The Bracketing Output
-
initializeVariate
Initialize the starting variate to within the fixed point convergence zone- Parameters:
ih
- Optional InitializationHeuristics instancedblOFGoal
- The OF Goal- Returns:
- The Convergence Zone Output
-
verifyHardSearchEdges
Initialize the starting bracket within the specified boundary- Parameters:
ih
- Initialization Heuristics containing the hard search edgesdblOFGoal
- The OF Goal- Returns:
- Results of the Verification
-