C# 클래스 LibiadaCore.Misc.Iterators.IteratorBase

Abstract chain iterator.
상속: IIterator
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core

보호된 프로퍼티들

프로퍼티 타입 설명
Length int
Source LibiadaCore.Core.AbstractChain
Step int

공개 메소드들

메소드 설명
Current ( ) : AbstractChain

Returns current value of iterator.

IteratorBase ( AbstractChain source, int length, int step ) : System

Initializes a new instance of the IteratorBase 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.

메소드 상세

Current() 공개 메소드

Returns current value of iterator.
/// Thrown if current position is invalid. ///
public Current ( ) : AbstractChain
리턴 LibiadaCore.Core.AbstractChain

IteratorBase() 공개 메소드

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

Next() 공개 추상적인 메소드

Moves iterator to the next position.
public abstract Next ( ) : bool
리턴 bool

Reset() 공개 추상적인 메소드

Returns iterator to the starting position. Before reading first value. IteratorBase.Next() method should be called.
public abstract Reset ( ) : void
리턴 void

프로퍼티 상세

Length 보호되어 있는 프로퍼티

Length of subsequence.
protected int Length
리턴 int

Source 보호되어 있는 프로퍼티

Source chain.
protected AbstractChain,LibiadaCore.Core Source
리턴 LibiadaCore.Core.AbstractChain

Step 보호되어 있는 프로퍼티

Shift of iterator.
protected int Step
리턴 int