Package org.drip.spaces.iterator
Class RdSpanningCombinatorialIterator
java.lang.Object
org.drip.spaces.iterator.RdSpanningStateSpaceScan
org.drip.spaces.iterator.RdExhaustiveStateSpaceScan
org.drip.spaces.iterator.RdSpanningCombinatorialIterator
public class RdSpanningCombinatorialIterator extends RdExhaustiveStateSpaceScan
RdSpanningCombinatorialIterator contains the Functionality to conduct a Spanning Iteration through
an Rd Combinatorial Space.
It provides the following Functionality:
- Retrieve the RdSpanningCombinatorialIterator Instance associated with the Underlying Vector Space
- RdSpanningCombinatorialIterator Constructor
- Retrieve the Array of the R1 Combinatorial Vectors
- Convert the Vector Space Index Array to the Variate Array
- Retrieve the Cursor Variate Array
- Retrieve the Subsequent Variate Array
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description RdSpanningCombinatorialIterator(R1CombinatorialVector[] r1CombinatorialVectorArray, int[] terminalStateIndexArray)
RdSpanningCombinatorialIterator Constructor -
Method Summary
Modifier and Type Method Description double[]
cursorVariates()
Retrieve the Cursor Variate Arraydouble[]
nextVariates()
Retrieve the Subsequent Variate ArrayR1CombinatorialVector[]
r1()
Retrieve the Array of the R1 Combinatorial Vectorsstatic RdSpanningCombinatorialIterator
Standard(R1CombinatorialVector[] aR1CV)
Retrieve the RdSpanningCombinatorialIterator Instance associated with the Underlying Vector Spacedouble[]
vectorSpaceIndexToVariate(int[] vectorSpaceIndexArray)
Convert the Vector Space Index Array to the Variate ArrayMethods inherited from class org.drip.spaces.iterator.RdExhaustiveStateSpaceScan
nextStateIndexCursor, resetStateIndexCursor
Methods inherited from class org.drip.spaces.iterator.RdSpanningStateSpaceScan
cyclicalScan, dimension, stateIndexCursor, terminalStateIndex
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RdSpanningCombinatorialIterator
public RdSpanningCombinatorialIterator(R1CombinatorialVector[] r1CombinatorialVectorArray, int[] terminalStateIndexArray) throws java.lang.ExceptionRdSpanningCombinatorialIterator Constructor- Parameters:
r1CombinatorialVectorArray
- Array of the R1 Combinatorial VectorsterminalStateIndexArray
- The Array of Dimension Maximum- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
Retrieve the RdSpanningCombinatorialIterator Instance associated with the Underlying Vector Space- Parameters:
aR1CV
- Array of R1 Combinatorial Vectors- Returns:
- The RdSpanningCombinatorialIterator Instance associated with the Underlying Vector Space
-
r1
Retrieve the Array of the R1 Combinatorial Vectors- Returns:
- The Array of the R1 Combinatorial Vectors
-
vectorSpaceIndexToVariate
public double[] vectorSpaceIndexToVariate(int[] vectorSpaceIndexArray)Convert the Vector Space Index Array to the Variate Array- Parameters:
vectorSpaceIndexArray
- Vector Space Index Array- Returns:
- Variate Array
-
cursorVariates
public double[] cursorVariates()Retrieve the Cursor Variate Array- Returns:
- The Cursor Variate Array
-
nextVariates
public double[] nextVariates()Retrieve the Subsequent Variate Array- Returns:
- The Subsequent Variate Array
-