C# Class LibiadaCore.Misc.Iterators.CutRuleIterator

The cut rule iterator.
显示文件 Open project: intervals-mining-lab/libiada-core

Public Methods

Method 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 method

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. ///
return System.Collections.Generic

GetEndPosition() public method

Returns end position of current element.
public GetEndPosition ( ) : int
return int

GetStartPosition() public method

Returns start position of current element.
public GetStartPosition ( ) : int
return int

Next() public method

Moves cursor to the next subsequence.
public Next ( ) : bool
return bool