C# Class LibiadaCore.Misc.Iterators.CutRuleIterator

The cut rule iterator.
Afficher le fichier Open project: intervals-mining-lab/libiada-core

Méthodes publiques

Méthode Description
CutRuleIterator ( List starts, List ends ) : System.Collections.Generic

Initializes a new instance of the CutRuleIterator class.

GetEndPosition ( ) : int

Returns end position of current element.

GetStartPosition ( ) : int

Returns start position of current element.

Next ( ) : bool

Moves cursor to the next subsequence.

Method Details

CutRuleIterator() public méthode

Initializes a new instance of the CutRuleIterator class.
public CutRuleIterator ( List starts, List ends ) : System.Collections.Generic
starts List /// Starts of subsequences. ///
ends List /// Ends of subsequences. ///
Résultat System.Collections.Generic

GetEndPosition() public méthode

Returns end position of current element.
public GetEndPosition ( ) : int
Résultat int

GetStartPosition() public méthode

Returns start position of current element.
public GetStartPosition ( ) : int
Résultat int

Next() public méthode

Moves cursor to the next subsequence.
public Next ( ) : bool
Résultat bool