Package org.drip.spaces.iterator
Class RdSpanningStateSpaceScan
java.lang.Object
org.drip.spaces.iterator.RdSpanningStateSpaceScan
- Direct Known Subclasses:
RdExhaustiveStateSpaceScan
,RdReceedingStateSpaceScan
public abstract class RdSpanningStateSpaceScan
extends java.lang.Object
RdSpanningStateSpaceScan is the Abstract Iterator Class that contains the Functionality to perform
a Spanning Iterative Scan through an Rd State Space.
It provides the following Functionality:
- Retrieve the Array of the Terminal State Indexes
- Retrieve the Dimension
- Retrieve the State Index Cursor
- Retrieve the Cyclical Scan Flag
- Reset and retrieve the State Index Cursor
- Move to the Subsequent Index Cursor
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description boolean
cyclicalScan()
Retrieve the Cyclical Scan Flagint
dimension()
Retrieve the Dimensionabstract int[]
nextStateIndexCursor()
Move to the Subsequent Index Cursorabstract int[]
resetStateIndexCursor()
Reset and retrieve the State Index Cursorint[]
stateIndexCursor()
Retrieve the State Index Cursorint[]
terminalStateIndex()
Retrieve the Array of the Terminal State IndexesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
terminalStateIndex
public int[] terminalStateIndex()Retrieve the Array of the Terminal State Indexes- Returns:
- The Array of the Terminal State Indexes
-
dimension
public int dimension()Retrieve the Dimension- Returns:
- The Dimension
-
stateIndexCursor
public int[] stateIndexCursor()Retrieve the State Index Cursor- Returns:
- The State Index Cursor
-
cyclicalScan
public boolean cyclicalScan()Retrieve the Cyclical Scan Flag- Returns:
- The Cyclical Scan Flag
-
resetStateIndexCursor
public abstract int[] resetStateIndexCursor()Reset and retrieve the State Index Cursor- Returns:
- The Reset State Index Cursor
-
nextStateIndexCursor
public abstract int[] nextStateIndexCursor()Move to the Subsequent Index Cursor- Returns:
- The Subsequent Index Cursor
-