Package tools.mdsd.probdist.api.factory
Class ProbabilityDistributionFactory
java.lang.Object
tools.mdsd.probdist.api.factory.ProbabilityDistributionFactory
- All Implemented Interfaces:
IProbabilityDistributionFactory<CategoricalValue>
,IProbabilityDistributionRegistry<CategoricalValue>
public class ProbabilityDistributionFactory
extends Object
implements IProbabilityDistributionRegistry<CategoricalValue>, IProbabilityDistributionFactory<CategoricalValue>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProbabilityDistributionFactory
public ProbabilityDistributionFactory()
-
-
Method Details
-
getInstanceOf
public Optional<ProbabilityDistributionFunction<CategoricalValue>> getInstanceOf(ProbabilityDistribution distribution) - Specified by:
getInstanceOf
in interfaceIProbabilityDistributionFactory<CategoricalValue>
-
register
- Specified by:
register
in interfaceIProbabilityDistributionRegistry<CategoricalValue>
-
unregister
- Specified by:
unregister
in interfaceIProbabilityDistributionRegistry<CategoricalValue>
-
getProbabilityCalculator
- Specified by:
getProbabilityCalculator
in interfaceIProbabilityDistributionFactory<CategoricalValue>
-
getProbabilityDistributionBuilder
- Specified by:
getProbabilityDistributionBuilder
in interfaceIProbabilityDistributionFactory<CategoricalValue>
-