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
Afficher le fichier Open project: intervals-mining-lab/libiada-core Class Usage Examples

Méthodes publiques

Méthode 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 méthode

The current.
public Current ( ) : List
Résultat List

HasNext() public méthode

The has next.
public HasNext ( ) : bool
Résultat bool

Move() public méthode

The move.
public Move ( int position ) : bool
position int /// The position. ///
Résultat bool

Next() public méthode

The next.
public Next ( ) : List
Résultat List

Position() public méthode

The position.
public Position ( ) : int
Résultat int

Reset() public méthode

The reset.
public Reset ( ) : void
Résultat void

StartIterator() public méthode

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 ///
Résultat System