Class BayesianNetwork<I extends tools.mdsd.probdist.api.entity.Value<?>>
java.lang.Object
tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<List<InputValue<I>>>
org.palladiosimulator.envdyn.api.entity.bn.BayesianNetwork<I>
- All Implemented Interfaces:
ProbabilisticModel<InputValue<I>>
,tools.mdsd.probdist.api.entity.ProbabilityMeasure<List<InputValue<I>>>
,tools.mdsd.probdist.api.entity.Sampler<List<InputValue<I>>>
public class BayesianNetwork<I extends tools.mdsd.probdist.api.entity.Value<?>>
extends tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<List<InputValue<I>>>
implements ProbabilisticModel<InputValue<I>>
-
Field Summary
Fields inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
distSkeleton
-
Constructor Summary
ConstructorDescriptionBayesianNetwork
(tools.mdsd.probdist.distributiontype.ProbabilityDistributionSkeleton distSkeleton, GroundProbabilisticNetwork groundNetwork, tools.mdsd.probdist.api.factory.IProbabilityDistributionFactory<I> probabilityDistributionFactory) -
Method Summary
Modifier and TypeMethodDescriptionget()
protected tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<I>
getPDF
(GroundRandomVariable variable, List<InputValue<I>> history) static Set<TemplateVariable>
getTemplates
(LocalProbabilisticNetwork localNetwork) infer
(List<InputValue<I>> inputs) void
learn
(List<InputValue<I>> trainingData) probability
(List<InputValue<I>> inputs) List<InputValue<I>>
sample()
Methods inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
getDistributionSkeleton
-
Constructor Details
-
BayesianNetwork
public BayesianNetwork(tools.mdsd.probdist.distributiontype.ProbabilityDistributionSkeleton distSkeleton, GroundProbabilisticNetwork groundNetwork, tools.mdsd.probdist.api.factory.IProbabilityDistributionFactory<I> probabilityDistributionFactory)
-
-
Method Details
-
probability
- Specified by:
probability
in interfacetools.mdsd.probdist.api.entity.ProbabilityMeasure<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
sample
- Specified by:
sample
in interfacetools.mdsd.probdist.api.entity.Sampler<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
infer
- Specified by:
infer
in interfaceProbabilisticModel<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
learn
- Specified by:
learn
in interfaceProbabilisticModel<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
getTemplates
-
get
-
getLocalProbabilisticNetworks
-
getGroundVariables
-
getPDF
protected tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<I> getPDF(GroundRandomVariable variable, List<InputValue<I>> history)
-