T
- Type of discrete variables in the multi target statepublic abstract class AbstractMultiStateTransitionDistribution<T extends Copyable<?>> extends Object implements ConditionalDistribution<AbstractMultiState<T>>, SamplingDistribution<AbstractMultiState<T>>
Modifier and Type | Field and Description |
---|---|
protected AbstractMultiState<T> |
condX
multi state condition on the density
|
protected AbstractMultiStateFactory<T> |
factoryX
multi state factory for condition variable, used for validity checks
|
Constructor and Description |
---|
AbstractMultiStateTransitionDistribution(AbstractMultiState<T> X,
AbstractMultiStateFactory<T> factoryX)
Constructor to set the condition X, and the factories of multi state and multi observation variables
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractMultiState<T> |
drawSample()
Generate a new sample from this density.
|
AbstractMultiState<T> |
getCondition()
Get conditional variable
|
void |
setCondition(AbstractMultiState<T> X)
Set the conditional variable
|
protected AbstractMultiState<T extends Copyable<?>> condX
protected AbstractMultiStateFactory<T extends Copyable<?>> factoryX
public AbstractMultiStateTransitionDistribution(AbstractMultiState<T> X, AbstractMultiStateFactory<T> factoryX)
X
- factoryX
- public AbstractMultiState<T> getCondition()
ConditionalDistribution
getCondition
in interface ConditionalDistribution<AbstractMultiState<T extends Copyable<?>>>
public void setCondition(AbstractMultiState<T> X) throws IllegalArgumentException
ConditionalDistribution
setCondition
in interface ConditionalDistribution<AbstractMultiState<T extends Copyable<?>>>
X
- conditional variableIllegalArgumentException
public abstract AbstractMultiState<T> drawSample()
SamplingDistribution
drawSample
in interface SamplingDistribution<AbstractMultiState<T extends Copyable<?>>>
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.