Class DynamicBayesianNetwork<I extends tools.mdsd.probdist.api.entity.Value<?>>
java.lang.Object
tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<DynamicBayesianNetwork.Trajectory<I>>
org.palladiosimulator.envdyn.api.entity.bn.DynamicBayesianNetwork<I>
- All Implemented Interfaces:
ProbabilisticModel<DynamicBayesianNetwork.Trajectory<I>>
,tools.mdsd.probdist.api.entity.Conditionable<I>
,tools.mdsd.probdist.api.entity.ProbabilityMeasure<DynamicBayesianNetwork.Trajectory<I>>
,tools.mdsd.probdist.api.entity.Sampler<DynamicBayesianNetwork.Trajectory<I>>
public class DynamicBayesianNetwork<I extends tools.mdsd.probdist.api.entity.Value<?>>
extends tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<DynamicBayesianNetwork.Trajectory<I>>
implements ProbabilisticModel<DynamicBayesianNetwork.Trajectory<I>>, tools.mdsd.probdist.api.entity.Conditionable<I>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
DynamicBayesianNetwork.ConditionalInputValue<I extends tools.mdsd.probdist.api.entity.Value<?>>
static class
DynamicBayesianNetwork.Trajectory<I extends tools.mdsd.probdist.api.entity.Value<?>>
Nested classes/interfaces inherited from interface tools.mdsd.probdist.api.entity.Conditionable
tools.mdsd.probdist.api.entity.Conditionable.Conditional<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
Field Summary
Fields inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
distSkeleton
-
Constructor Summary
ConstructorDescriptionDynamicBayesianNetwork
(tools.mdsd.probdist.distributiontype.ProbabilityDistributionSkeleton distSkeleton, BayesianNetwork<I> initialDistribution, DynamicBehaviourExtension dynamics, tools.mdsd.probdist.api.factory.IProbabilityDistributionFactory<I> probabilityDistributionFactory) -
Method Summary
Modifier and TypeMethodDescriptioninfer
(List<DynamicBayesianNetwork.Trajectory<I>> inputs) void
learn
(List<DynamicBayesianNetwork.Trajectory<I>> trainingData) sample()
unrollForSampling
(int timeSlices) Methods inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
getDistributionSkeleton
-
Constructor Details
-
DynamicBayesianNetwork
public DynamicBayesianNetwork(tools.mdsd.probdist.distributiontype.ProbabilityDistributionSkeleton distSkeleton, BayesianNetwork<I> initialDistribution, DynamicBehaviourExtension dynamics, 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<?>>
-
given
public DynamicBayesianNetwork<I> given(List<tools.mdsd.probdist.api.entity.Conditionable.Conditional<I>> conditionals) - Specified by:
given
in interfacetools.mdsd.probdist.api.entity.Conditionable<I extends tools.mdsd.probdist.api.entity.Value<?>>
-
getBayesianNetwork
-
getDynamics
-
unrollForProbability
-
unrollForSampling
-