C# Class LibiadaCore.Misc.Iterators.IteratorStart

Iterator that goes from start of the chain.
Inheritance: IteratorBase
Afficher le fichier Open project: intervals-mining-lab/libiada-core Class Usage Examples

Méthodes publiques

Méthode Description
IteratorStart ( AbstractChain source, int length, int step ) : System

Initializes a new instance of the IteratorStart class.

Next ( ) : bool

Moves iterator to the next position.

Reset ( ) : void

Returns iterator to the starting position. Before reading first value. IteratorBase.Next() method should be called.

Method Details

IteratorStart() public méthode

Initializes a new instance of the IteratorStart class.
/// Thrown if one or more arguments are invalid. ///
public IteratorStart ( AbstractChain source, int length, int step ) : System
source LibiadaCore.Core.AbstractChain /// Source chain. ///
length int /// Length of subsequence. ///
step int /// Shift of iterator. ///
Résultat System

Next() public méthode

Moves iterator to the next position.
public Next ( ) : bool
Résultat bool

Reset() public méthode

Returns iterator to the starting position. Before reading first value. IteratorBase.Next() method should be called.
public Reset ( ) : void
Résultat void