C# Class Segmenter.Base.Iterators.StartIterator

An iterator shifts its pointer through a chain left to right until it reach the end of the chain.
Inheritance: BaseIterator
Mostra file Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
Current ( ) : List

The current.

HasNext ( ) : bool

The has next.

Move ( int position ) : bool

The move.

Next ( ) : List

The next.

Position ( ) : int

The position.

Reset ( ) : void

The reset.

StartIterator ( ComplexChain chain, int windowLength, int step ) : System

Initializes a new instance of the StartIterator class.

Method Details

Current() public method

The current.
public Current ( ) : List
return List

HasNext() public method

The has next.
public HasNext ( ) : bool
return bool

Move() public method

The move.
public Move ( int position ) : bool
position int /// The position. ///
return bool

Next() public method

The next.
public Next ( ) : List
return List

Position() public method

The position.
public Position ( ) : int
return int

Reset() public method

The reset.
public Reset ( ) : void
return void

StartIterator() public method

Initializes a new instance of the StartIterator class.
public StartIterator ( ComplexChain chain, int windowLength, int step ) : System
chain Segmenter.Base.Sequences.ComplexChain /// An iterable sequence ///
windowLength int /// Length of a word (window of cutting) ///
step int /// The number of elements through which the pointer will jump at the next iteration ///
return System