public class RandomBlockIterator
extends java.lang.Object
Constructor and Description |
---|
RandomBlockIterator(ISBounds partitionSpaceBounds,
ISBounds iterationBounds,
Indexable iterationSource)
The partSpaceBounds is the iterationBounds in the partitioned space
|
Modifier and Type | Method and Description |
---|---|
ISBounds[] |
getEnumWindow() |
int |
getEnumWindowIndex() |
ISBounds |
getIteratorBounds()
get the bounds of this block iterator
|
ISBounds |
getWindowElement(int windowIndex)
return the ISBounds of an indexed enumeration
window element
|
void |
init()
initialize the iterator, read data values from the source into
the iteration block.
|
boolean |
isWindowOpen()
return if the enumeration window is open or closed
|
static void |
main(java.lang.String[] args) |
void |
next()
move to next iteration step
|
ISBounds |
nextBounds()
get ISBounds of next iteration step
|
void |
renewEnumWindow()
preproces the iteration
|
void |
setSource(DataSource iterationSource)
Set the iteration data source
|
void |
setWindowSize(int size)
set the enumberation window size
|
java.lang.String |
toString() |
public ISBounds getIteratorBounds()
public void init()
public void setSource(DataSource iterationSource)
public void setWindowSize(int size)
public void next()
public boolean isWindowOpen()
public void renewEnumWindow()
public ISBounds[] getEnumWindow()
public ISBounds getWindowElement(int windowIndex)
public int getEnumWindowIndex()
public ISBounds nextBounds()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)