C# Class Segmenter.Base.Iterators.EndIterator

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

Public Methods

Method Description
Current ( ) : List

The current.

EndIterator ( ComplexChain chain, int length, int step ) : System

Initializes a new instance of the EndIterator class.

HasNext ( ) : bool

The has next.

Move ( int position ) : bool

The move.

Next ( ) : List

The next.

Position ( ) : int

The position.

Reset ( ) : void

The reset.

Method Details

Current() public method

The current.
public Current ( ) : List
return List

EndIterator() public method

Initializes a new instance of the EndIterator class.
public EndIterator ( ComplexChain chain, int length, int step ) : System
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
length 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

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