Package tools.mdsd.probdist.api.builder
Class CategoricalProbabilityDistributionBuilder
java.lang.Object
tools.mdsd.probdist.api.builder.CategoricalProbabilityDistributionBuilder
- All Implemented Interfaces:
ProbabilityDistributionBuilder<CategoricalValue>
public class CategoricalProbabilityDistributionBuilder
extends Object
implements ProbabilityDistributionBuilder<CategoricalValue>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
create
(IProbabilityDistributionFactory<CategoricalValue> probabilityDistributionFactory) withStructure
(ProbabilityDistribution distribution)
-
Method Details
-
create
public static CategoricalProbabilityDistributionBuilder create(IProbabilityDistributionFactory<CategoricalValue> probabilityDistributionFactory) -
withStructure
public CategoricalProbabilityDistributionBuilder withStructure(ProbabilityDistribution distribution) - Specified by:
withStructure
in interfaceProbabilityDistributionBuilder<CategoricalValue>
-
asConditionalProbabilityDistribution
- Specified by:
asConditionalProbabilityDistribution
in interfaceProbabilityDistributionBuilder<CategoricalValue>
-
build
- Specified by:
build
in interfaceProbabilityDistributionBuilder<CategoricalValue>
-