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

A partial Orlov's criterion. Find the difference between the theoretical and practical power of the alphabet
상속: Criterion
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core

공개 메소드들

메소드 설명
CalculateB ( double k, double f1 ) : double

The calculate b.

CalculateK ( int factFrequency, int length ) : double

The calculate k.

CriterionPartialOrlov ( ThresholdVariator threshold, double precision ) : System

Initializes a new instance of the CriterionPartialOrlov class.

Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double

The distortion.

Frequency ( ComplexChain chain, string word ) : double

The frequency.

Frequency ( IEnumerable c, object o ) : int

The frequency.

State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool

The state.

TheoryFrequency ( int rank, double b, double k ) : double

The theory frequency.

TheoryVolume ( ComplexChain chain, FrequencyDictionary alphabet ) : double

Calculates the theoretical volume the alphabet for a chain.

비공개 메소드들

메소드 설명
Update ( ComplexChain chain, FrequencyDictionary alphabet ) : void

The update.

메소드 상세

CalculateB() 공개 메소드

The calculate b.
public CalculateB ( double k, double f1 ) : double
k double /// The k. ///
f1 double /// The f 1. ///
리턴 double

CalculateK() 공개 메소드

The calculate k.
public CalculateK ( int factFrequency, int length ) : double
factFrequency int /// The fact frequency. ///
length int /// The length. ///
리턴 double

CriterionPartialOrlov() 공개 메소드

Initializes a new instance of the CriterionPartialOrlov class.
public CriterionPartialOrlov ( ThresholdVariator threshold, double precision ) : System
threshold Segmenter.Model.Threshold.ThresholdVariator /// The rule for handle a threshold value. ///
precision double /// The additional value. ///
리턴 System

Distortion() 공개 최종 메소드

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

Frequency() 공개 메소드

The frequency.
public Frequency ( ComplexChain chain, string word ) : double
chain Segmenter.Base.Sequences.ComplexChain /// The chain. ///
word string /// The word. ///
리턴 double

Frequency() 공개 메소드

The frequency.
public Frequency ( IEnumerable c, object o ) : int
c IEnumerable /// The c. ///
o object /// The o. ///
리턴 int

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

TheoryFrequency() 공개 메소드

The theory frequency.
public TheoryFrequency ( int rank, double b, double k ) : double
rank int /// The rank. ///
b double /// The b. ///
k double /// The k. ///
리턴 double

TheoryVolume() 공개 메소드

Calculates the theoretical volume the alphabet for a chain.
public TheoryVolume ( ComplexChain chain, FrequencyDictionary alphabet ) : double
chain Segmenter.Base.Sequences.ComplexChain /// An estimated chain. ///
alphabet Segmenter.Base.Collectors.FrequencyDictionary /// Current alphabet. ///
리턴 double