C# Class Segmenter.Model.Criterion.CriterionShrederByWords

The criterion shreder by words.
Inheritance: Criterion
显示文件 Open project: intervals-mining-lab/libiada-core

Public Methods

Method Description
CriterionShrederByWords ( ThresholdVariator threshold, double precision ) : Segmenter.Base.Collectors

Initializes a new instance of the CriterionShrederByWords class.

Distortion ( ComplexChain chain, FrequencyDictionary alphabet ) : double

The distortion.

State ( ComplexChain chain, FrequencyDictionary alphabet ) : bool

The state.

Method Details

CriterionShrederByWords() public method

Initializes a new instance of the CriterionShrederByWords class.
public CriterionShrederByWords ( ThresholdVariator threshold, double precision ) : Segmenter.Base.Collectors
threshold Segmenter.Model.Threshold.ThresholdVariator /// A rule for handle a threshold value. ///
precision double /// The precision. ///
return Segmenter.Base.Collectors

Distortion() public method

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

State() public method

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