Package org.drip.spaces.iterator
Class RdExhaustiveStateSpaceScan
java.lang.Object
org.drip.spaces.iterator.RdSpanningStateSpaceScan
org.drip.spaces.iterator.RdExhaustiveStateSpaceScan
- Direct Known Subclasses:
RdSpanningCombinatorialIterator
public class RdExhaustiveStateSpaceScan extends RdSpanningStateSpaceScan
RdExhaustiveStateSpaceScan contains the Functionality to iterate exhaustively through the
Rd Space.
It provides the following Functionality:
- RdExhaustiveStateSpaceScan Constructor
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description RdExhaustiveStateSpaceScan(int[] terminalStateIndexArray, boolean cyclicalScan)
RdExhaustiveStateSpaceScan Constructor -
Method Summary
Modifier and Type Method Description int[]
nextStateIndexCursor()
Move to the Subsequent Index Cursorint[]
resetStateIndexCursor()
Reset and retrieve the State Index CursorMethods 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
-
RdExhaustiveStateSpaceScan
public RdExhaustiveStateSpaceScan(int[] terminalStateIndexArray, boolean cyclicalScan) throws java.lang.ExceptionRdExhaustiveStateSpaceScan Constructor- Parameters:
terminalStateIndexArray
- Upper Array Bounds for each DimensioncyclicalScan
- TRUE - Cycle Post a Full Scan- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
resetStateIndexCursor
public int[] resetStateIndexCursor()Description copied from class:RdSpanningStateSpaceScan
Reset and retrieve the State Index Cursor- Specified by:
resetStateIndexCursor
in classRdSpanningStateSpaceScan
- Returns:
- The Reset State Index Cursor
-
nextStateIndexCursor
public int[] nextStateIndexCursor()Description copied from class:RdSpanningStateSpaceScan
Move to the Subsequent Index Cursor- Specified by:
nextStateIndexCursor
in classRdSpanningStateSpaceScan
- Returns:
- The Subsequent Index Cursor
-