S
- Type of discrete variables in the multi target observationT
- Type of discrete variables in the multi target statepublic abstract class AbstractMultiObservationDistribution<S extends Copyable<?>,T extends Copyable<?>> extends Object implements EvaluatableDistribution<AbstractMultiState<S>>, LogEvaluatableDistribution<AbstractMultiState<S>>, ConditionalDistribution<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
|
protected AbstractMultiStateFactory<S> |
factoryZ
multi state factory for observation variable, used for validity checks
|
Constructor and Description |
---|
AbstractMultiObservationDistribution(AbstractMultiState<T> conditionX,
AbstractMultiStateFactory<T> factoryX,
AbstractMultiStateFactory<S> factoryZ)
Constructor to set the condition conditionX, and the factories of multi state and multi observation variables
|
Modifier and Type | Method and Description |
---|---|
AbstractMultiState<T> |
getCondition()
Get conditional variable
|
abstract double |
log_p(AbstractMultiState<S> Z)
Evaluate natural logarithm of p(X) at location x. log(P(X=x))
|
abstract double |
p(AbstractMultiState<S> Z)
Evaluate p(X) at location x.
|
void |
setCondition(AbstractMultiState<T> X)
Set the conditional variable
|
protected AbstractMultiState<T extends Copyable<?>> condX
protected AbstractMultiStateFactory<T extends Copyable<?>> factoryX
protected AbstractMultiStateFactory<S extends Copyable<?>> factoryZ
public AbstractMultiObservationDistribution(AbstractMultiState<T> conditionX, AbstractMultiStateFactory<T> factoryX, AbstractMultiStateFactory<S> factoryZ)
conditionX
- factoryX
- factoryZ
- 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 double p(AbstractMultiState<S> Z)
EvaluatableDistribution
p
in interface EvaluatableDistribution<AbstractMultiState<S extends Copyable<?>>>
Z
- realization of random variable Xpublic abstract double log_p(AbstractMultiState<S> Z)
LogEvaluatableDistribution
log_p
in interface LogEvaluatableDistribution<AbstractMultiState<S extends Copyable<?>>>
Z
- realization of random variable XCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.