C# 클래스 Segmenter.Model.Criterion.Criterion

The criterion of break. Defines the best mode of segmentation. Allows you to handle how long will the process do something.
상속: IDefinable
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ThresholdToStop ThresholdVariator
alphabet FrequencyDictionary
chain ComplexChain
precisionOfDifference double

공개 메소드들

메소드 설명
Criterion ( ThresholdVariator threshold, double precision ) : System

Initializes a new instance of the Criterion class.

Distortion ( ) : double

Returns distortion between necessary and calculated value inside of criterion. For example between theoretical and practical values.

Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double

Returns distortion between necessary and calculated value. For example between theoretical and practical values.

GetValue ( ) : double

The get value.

Renew ( ComplexChain chain, FrequencyDictionary alphabet ) : void

Updates data for computing a new value of the criterion.

State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool

Returns the state of criterion. True, if everything is done, false - otherwise.

메소드 상세

Criterion() 공개 메소드

Initializes a new instance of the Criterion class.
public Criterion ( ThresholdVariator threshold, double precision ) : System
threshold ThresholdVariator /// A rule for handling a threshold value. ///
precision double /// Additional value to. ///
리턴 System

Distortion() 공개 메소드

Returns distortion between necessary and calculated value inside of criterion. For example between theoretical and practical values.
public Distortion ( ) : double
리턴 double

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

Returns distortion between necessary and calculated value. For example between theoretical and practical values.
public abstract Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double
chain ComplexChain /// The chain. ///
alphabet FrequencyDictionary /// The alphabet. ///
리턴 double

GetValue() 공개 메소드

The get value.
public GetValue ( ) : double
리턴 double

Renew() 공개 메소드

Updates data for computing a new value of the criterion.
public Renew ( ComplexChain chain, FrequencyDictionary alphabet ) : void
chain ComplexChain /// A new chain. ///
alphabet FrequencyDictionary /// A new alphabet. ///
리턴 void

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

Returns the state of criterion. True, if everything is done, false - otherwise.
public abstract State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool
chain ComplexChain /// The chain. ///
alphabet FrequencyDictionary /// Chains alphabet. ///
리턴 bool

프로퍼티 상세

ThresholdToStop 보호되어 있는 프로퍼티

The threshold to stop.
protected ThresholdVariator ThresholdToStop
리턴 ThresholdVariator

alphabet 보호되어 있는 프로퍼티

The alphabet.
protected FrequencyDictionary alphabet
리턴 FrequencyDictionary

chain 보호되어 있는 프로퍼티

The chain.
protected ComplexChain chain
리턴 ComplexChain

precisionOfDifference 보호되어 있는 프로퍼티

The precision of difference.
protected double precisionOfDifference
리턴 double