|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl.RBMCDASampleInfo<T>
T
- type of discrete state variablespublic class RBMCDASampleInfo<T extends TargetID>
RBMCDA-sample info object. Holds various information about an RBMCDA-sample.
Field Summary | |
---|---|
private java.util.SortedSet<java.lang.Short> |
entireTargetIDs
The targetIDs of all targets that have ever existed up to current time |
private java.util.Vector<java.util.SortedSet<java.lang.Short>> |
existingTargetIDs
The targetIDs of the existing target at the specific time |
private java.util.Vector<java.lang.Double> |
logP_Ccond
The probability of the association set of any time step represented by this sample conditional on all previous associations in this sample and all observations up to the specific time step: P(C^t | C^{1:t-1}, Z^{1,t}) for all t |
private double |
logP_Cjoint
The joint probability of the association sets of all time steps represented by this sample conditional on all observations: P(C^{1-t} | Z^{1,t}) |
private java.util.Vector<AbstractMultiState<T>> |
observations
|
private java.util.HashMap<java.lang.Short,java.util.SortedSet<PartitGraphNodeID>> |
tracks
HashMap of the tracks represented by the sample. |
Constructor Summary | |
---|---|
RBMCDASampleInfo()
|
|
RBMCDASampleInfo(int capacity)
|
|
RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo)
|
Method Summary | |
---|---|
int |
addCurrentInfo(double logP_C,
DataAssociation C,
AbstractMultiState<T> observations,
java.util.Set<java.lang.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 |
java.util.SortedSet<java.lang.Short> |
getEntireTargetIDs()
Get the targetIDs of all targets that ever existed up to current time. |
java.util.SortedSet<java.lang.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. |
java.util.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 |
Field Detail |
---|
private java.util.SortedSet<java.lang.Short> entireTargetIDs
private java.util.Vector<java.util.SortedSet<java.lang.Short>> existingTargetIDs
private java.util.Vector<java.lang.Double> logP_Ccond
private double logP_Cjoint
private java.util.Vector<AbstractMultiState<T extends TargetID>> observations
private java.util.HashMap<java.lang.Short,java.util.SortedSet<PartitGraphNodeID>> tracks
Constructor Detail |
---|
public RBMCDASampleInfo()
public RBMCDASampleInfo(int capacity)
public RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo)
Method Detail |
---|
public int addCurrentInfo(double logP_C, DataAssociation C, AbstractMultiState<T> observations, java.util.Set<java.lang.Short> existingTargetIDs)
logP_C
- probability of the data association at current time step conditional on the previous associations as well as current and previous observationsC
- associations of the current time stepnumObservations
- number of observations at the current time stepexistingTargetIDs
- targetIDs of currently existing targets
public RBMCDASampleInfo<T> copy()
copy
in interface Copyable<RBMCDASampleInfo<T extends TargetID>>
public double getCConditionalProb(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).
public double getCJointProb()
getCurrentTime
) conditional on all observations up to that time.
public double getCLogConditionalProb(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).
public double getCLogJointProb()
getCurrentTime
) conditional on all observations up to that time.
public int getCurrentTime()
public java.util.SortedSet<java.lang.Short> getEntireTargetIDs()
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).
public java.util.SortedSet<java.lang.Short> getExistingTargetIDs(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).
public AbstractMultiState<T> getObservations(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).
public java.util.SortedSet<PartitGraphNodeID> getTrack(short targetID)
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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |