T
- type of discrete state variablespublic class RBMCDASampleInfo<T extends TargetID> extends Object implements Copyable<RBMCDASampleInfo<T>>
Modifier and Type | Field and Description |
---|---|
private SortedSet<Short> |
entireTargetIDs
The targetIDs of all targets that have ever existed up to current time
|
private Vector<SortedSet<Short>> |
existingTargetIDs
The targetIDs of the existing target at the specific time
|
private Vector<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 Vector<AbstractMultiState<T>> |
observations |
private HashMap<Short,SortedSet<PartitGraphNodeID>> |
tracks
HashMap of the tracks represented by the sample.
|
Constructor and Description |
---|
RBMCDASampleInfo() |
RBMCDASampleInfo(int capacity) |
RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo) |
Modifier and Type | Method and Description |
---|---|
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). |
private Vector<Double> logP_Ccond
private double logP_Cjoint
private Vector<SortedSet<Short>> existingTargetIDs
private SortedSet<Short> entireTargetIDs
private HashMap<Short,SortedSet<PartitGraphNodeID>> tracks
private Vector<AbstractMultiState<T extends TargetID>> observations
public RBMCDASampleInfo()
public RBMCDASampleInfo(int capacity)
public RBMCDASampleInfo(RBMCDASampleInfo<T> sampleinfo)
public RBMCDASampleInfo<T> copy()
copy
in interface Copyable<RBMCDASampleInfo<T extends TargetID>>
public int addCurrentInfo(double logP_C, DataAssociation C, AbstractMultiState<T> observations, Set<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 targetspublic double getCConditionalProb(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).public double getCLogConditionalProb(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 getCLogJointProb()
getCurrentTime
) conditional on all observations up to that time.public int getCurrentTime()
public SortedSet<Short> getExistingTargetIDs(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).public SortedSet<Short> getEntireTargetIDs()
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).public 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.public AbstractMultiState<T> getObservations(int t)
ArrayIndexOutOfBounds
-Exception if t
is larger than 'current time' (see getCurrentTime
).Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.