Package tools.mdsd.probdist.api.factory
Class CategoricalProbabilityCalculator
java.lang.Object
tools.mdsd.probdist.api.factory.CategoricalProbabilityCalculator
- All Implemented Interfaces:
ProbabilityCalculator<CategoricalValue>
public class CategoricalProbabilityCalculator
extends Object
implements ProbabilityCalculator<CategoricalValue>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
calculateLocalProbability
(ProbabilityDistributionFunction<CategoricalValue> pdf, CategoricalValue value)
-
Constructor Details
-
CategoricalProbabilityCalculator
public CategoricalProbabilityCalculator()
-
-
Method Details
-
calculateLocalProbability
public double calculateLocalProbability(ProbabilityDistributionFunction<CategoricalValue> pdf, CategoricalValue value) - Specified by:
calculateLocalProbability
in interfaceProbabilityCalculator<CategoricalValue>
-