de.unihalle.informatik.MiToBo.tracking.multitarget.distributions.abstracts
Class AbstractMultiObservationDistribution<S extends Copyable<?>,T extends Copyable<?>>

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.tracking.multitarget.distributions.abstracts.AbstractMultiObservationDistribution<S,T>
Type Parameters:
S - Type of discrete variables in the multi target observation
T - Type of discrete variables in the multi target state
All Implemented Interfaces:
ConditionalDistribution<AbstractMultiState<T>>, EvaluatableDistribution<AbstractMultiState<S>>, LogEvaluatableDistribution<AbstractMultiState<S>>
Direct Known Subclasses:
AbstractMultiObservationDistributionIndep

@ALDMetaInfo(export=ALLOWED)
public abstract class AbstractMultiObservationDistribution<S extends Copyable<?>,T extends Copyable<?>>
extends Object
implements EvaluatableDistribution<AbstractMultiState<S>>, LogEvaluatableDistribution<AbstractMultiState<S>>, ConditionalDistribution<AbstractMultiState<T>>

Abstract class for multi target observation distributions. Used in the Bayesian tracking framework. A distribution of this type represents the probability of a multi target observation given a certain multi target state X: p(Z|X)

Author:
Oliver Gress

Field Summary
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 Summary
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
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

condX

protected AbstractMultiState<T extends Copyable<?>> condX
multi state condition on the density


factoryX

protected AbstractMultiStateFactory<T extends Copyable<?>> factoryX
multi state factory for condition variable, used for validity checks


factoryZ

protected AbstractMultiStateFactory<S extends Copyable<?>> factoryZ
multi state factory for observation variable, used for validity checks

Constructor Detail

AbstractMultiObservationDistribution

public 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

Parameters:
conditionX -
factoryX -
factoryZ -
Method Detail

getCondition

public AbstractMultiState<T> getCondition()
Description copied from interface: ConditionalDistribution
Get conditional variable

Specified by:
getCondition in interface ConditionalDistribution<AbstractMultiState<T extends Copyable<?>>>
Returns:
object which specifies the condition

setCondition

public void setCondition(AbstractMultiState<T> X)
                  throws IllegalArgumentException
Description copied from interface: ConditionalDistribution
Set the conditional variable

Specified by:
setCondition in interface ConditionalDistribution<AbstractMultiState<T extends Copyable<?>>>
Parameters:
X - conditional variable
Throws:
IllegalArgumentException

p

public abstract double p(AbstractMultiState<S> Z)
Description copied from interface: EvaluatableDistribution
Evaluate p(X) at location x. P(X=x)

Specified by:
p in interface EvaluatableDistribution<AbstractMultiState<S extends Copyable<?>>>
Parameters:
Z - realization of random variable X
Returns:
value of p(X) at x

log_p

public abstract double log_p(AbstractMultiState<S> Z)
Description copied from interface: LogEvaluatableDistribution
Evaluate natural logarithm of p(X) at location x. log(P(X=x))

Specified by:
log_p in interface LogEvaluatableDistribution<AbstractMultiState<S extends Copyable<?>>>
Parameters:
Z - realization of random variable X
Returns:
value of log(p(X)) at x


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.