public class ExecutionControl
extends java.lang.Object
| Constructor and Description |
|---|
ExecutionControl(R1ToR1 of,
ExecutionControlParams ecp)
ExecutionControl constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
calcAbsoluteOFTolerance(double dblOFInitial)
Calculate the absolute OF tolerance using the initial OF value
|
double |
calcAbsoluteVariateConvergence(double dblInitialVariate)
Calculate the absolute variate convergence amount using the initial variate
|
int |
getNumIterations()
Retrieve the Number of Iterations
|
boolean |
hasOFReachedGoal(double dblAbsoluteTolerance,
double dblOF,
double dblOFGoal)
Check to see if the OF has reached the goal
|
boolean |
isVariateConvergenceCheckEnabled()
Indicate if the variate convergence check has been turned on
|
public ExecutionControl(R1ToR1 of, ExecutionControlParams ecp) throws java.lang.Exception
of - Objective Functionecp - Execution Control Parametersjava.lang.Exception - Thrown if inputs are invalidpublic int getNumIterations()
public double calcAbsoluteOFTolerance(double dblOFInitial)
throws java.lang.Exception
dblOFInitial - Initial OF Valuejava.lang.Exception - Thrown if absolute tolerance cannot be calculatedpublic double calcAbsoluteVariateConvergence(double dblInitialVariate)
throws java.lang.Exception
dblInitialVariate - Initial Variatejava.lang.Exception - Thrown if Absolute Variate Convergence Amount cannot be calculatedpublic boolean hasOFReachedGoal(double dblAbsoluteTolerance,
double dblOF,
double dblOFGoal)
throws java.lang.Exception
dblAbsoluteTolerance - Absolute TolerancedblOF - OF ValuedblOFGoal - OF Goaljava.lang.Exception - Thrown if the inputs are invalidpublic boolean isVariateConvergenceCheckEnabled()