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

The criterion of "golden ratio". The basis is the standard law of the golden ratio, where most of the - power of the alphabet and less - the maximum frequency of the word.
상속: Criterion
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core

공개 메소드들

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

Initializes a new instance of the CriterionGoldenRatio class.

Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double

The distortion.

State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool

The state.

비공개 메소드들

메소드 설명
MaxFrequency ( FrequencyDictionary alphabet ) : int

The max frequency.

메소드 상세

CriterionGoldenRatio() 공개 메소드

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

Distortion() 공개 메소드

The distortion.
public Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
alphabet Segmenter.Base.Collectors.FrequencyDictionary /// The alphabet. ///
리턴 double

State() 공개 메소드

The state.
public State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
alphabet Segmenter.Base.Collectors.FrequencyDictionary /// The alphabet. ///
리턴 bool