C# Класс Segmenter.Model.Criterion.CriterionPartialOrlov

A partial Orlov's criterion. Find the difference between the theoretical and practical power of the alphabet
Наследование: Criterion
Показать файл Открыть проект

Открытые методы

Метод Описание
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