de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl
Class RBMCDASampleInfo<T extends TargetID>

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl.RBMCDASampleInfo<T>
Type Parameters:
T - type of discrete state variables
All Implemented Interfaces:
Copyable<RBMCDASampleInfo<T>>

@ALDMetaInfo(export=ALLOWED)
public class RBMCDASampleInfo<T extends TargetID>
extends Object
implements Copyable<RBMCDASampleInfo<T>>

RBMCDA-sample info object. Holds various information about an RBMCDA-sample.

Author:
Oliver Gress

Constructor Summary
RBMCDASampleInfo()
           
RBMCDASampleInfo(int capacity)
           
RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo)
           
 
Method Summary
 int addCurrentInfo(double logP_C, DataAssociation C, AbstractMultiState<T> observations, Set<Short> existingTargetIDs)
          Add sample info of the current time step
 RBMCDASampleInfo<T> copy()
           
 double getCConditionalProb(int t)
          Get the probability of the associations at time t conditional on the previous associations and all observations up to time t.
 double getCJointProb()
          Get the joint probability of all associations up to 'current time' (see getCurrentTime) conditional on all observations up to that time.
 double getCLogConditionalProb(int t)
          Get the log of probability of the associations at time t conditional on the previous associations and all observations up to time t.
 double getCLogJointProb()
          Get the natural log of joint probability of all associations up to 'current time' (see getCurrentTime) conditional on all observations up to that time.
 int getCurrentTime()
          Get the current time index, i.e. the time index that was assigned to the latest added information
 SortedSet<Short> getEntireTargetIDs()
          Get the targetIDs of all targets that ever existed up to current time.
 SortedSet<Short> getExistingTargetIDs(int t)
          Get the targetIDs of all targets existing at time t.
 AbstractMultiState<T> getObservations(int t)
          Get the observations of time t.
 SortedSet<PartitGraphNodeID> getTrack(short targetID)
          Get track of target given by targetID up to current time, where targetID may be 0 to obtain the clutter observations (which do not form a track).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBMCDASampleInfo

public RBMCDASampleInfo()

RBMCDASampleInfo

public RBMCDASampleInfo(int capacity)

RBMCDASampleInfo

public RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo)
Method Detail

copy

public RBMCDASampleInfo<T> copy()
Specified by:
copy in interface Copyable<RBMCDASampleInfo<T extends TargetID>>

addCurrentInfo

public int addCurrentInfo(double logP_C,
                          DataAssociation C,
                          AbstractMultiState<T> observations,
                          Set<Short> existingTargetIDs)
Add sample info of the current time step

Parameters:
logP_C - probability of the data association at current time step conditional on the previous associations as well as current and previous observations
C - associations of the current time step
numObservations - number of observations at the current time step
existingTargetIDs - targetIDs of currently existing targets
Returns:
the time index that was assigned for the added information (starting from 0)

getCConditionalProb

public double getCConditionalProb(int t)
Get the probability of the associations at time t conditional on the previous associations and all observations up to time t. This method might throw an ArrayIndexOutOfBounds-Exception if t is larger than 'current time' (see getCurrentTime).


getCLogConditionalProb

public double getCLogConditionalProb(int t)
Get the log of probability of the associations at time t conditional on the previous associations and all observations up to time t. This method might throw an ArrayIndexOutOfBounds-Exception if t is larger than 'current time' (see getCurrentTime).


getCJointProb

public double getCJointProb()
Get the joint probability of all associations up to 'current time' (see getCurrentTime) conditional on all observations up to that time.


getCLogJointProb

public double getCLogJointProb()
Get the natural log of joint probability of all associations up to 'current time' (see getCurrentTime) conditional on all observations up to that time.


getCurrentTime

public int getCurrentTime()
Get the current time index, i.e. the time index that was assigned to the latest added information


getExistingTargetIDs

public SortedSet<Short> getExistingTargetIDs(int t)
Get the targetIDs of all targets existing at time t. This method might throw an ArrayIndexOutOfBounds-Exception if t is larger than 'current time' (see getCurrentTime).


getEntireTargetIDs

public SortedSet<Short> getEntireTargetIDs()
Get the targetIDs of all targets that ever existed up to current time. This method might throw an ArrayIndexOutOfBounds-Exception if t is larger than 'current time' (see getCurrentTime).


getTrack

public SortedSet<PartitGraphNodeID> getTrack(short targetID)
Get track of target given by targetID up to current time, where targetID may be 0 to obtain the clutter observations (which do not form a track). A track is comprised of all observations associated to the specified target. The PartitGraphNodeID reflects only the time (partition) and index (nodeID) the observation.


getObservations

public AbstractMultiState<T> getObservations(int t)
Get the observations of time t. This method might throw an ArrayIndexOutOfBounds-Exception if t is larger than 'current time' (see getCurrentTime).



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