de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.interfaces
Interface DataAssociation

All Known Implementing Classes:
DataAssociationExclusive

public interface DataAssociation

Interface for data association objects. A data association object represents information, how observations and targets (states) are associated in a multi target tracking scenario. Targets and observations are assumed to be indexed from 1 to (number_of_states) and (number_of_observations) respectively. The index 0 is reserved for association of clutter observations or undetected targets.

Author:
Oliver Gress

Method Summary
 boolean areAssociated(int target, int observation)
          Ask if the specified target and observation are associated
 int[] getAssociatedObservations(int target)
          Get the indices of all observations that are associated with the specified state.
 int[] getAssociatedTargets(int observation)
          Get the indices of all targets that are associated with the specified observation.
 int maxAssociatedTargetID()
          Get the maximum target id associated by this data association object
 int numOfObservationAssocs(int target)
          Get the number of observations that are associated with the specified target
 int numOfTargetAssocs(int observation)
          Get the number of targets that are associated with the specified observation
 void setAssociation(int target, int observation)
          Set an association between target and observation.
 void unsetAssociation(int target, int observation)
          Unset the association between target and observation.
 

Method Detail

areAssociated

boolean areAssociated(int target,
                      int observation)
Ask if the specified target and observation are associated


getAssociatedObservations

int[] getAssociatedObservations(int target)
Get the indices of all observations that are associated with the specified state. May be null if no observations are associated to that state.


getAssociatedTargets

int[] getAssociatedTargets(int observation)
Get the indices of all targets that are associated with the specified observation. May be null if no states are associated to that observation.


maxAssociatedTargetID

int maxAssociatedTargetID()
Get the maximum target id associated by this data association object


numOfObservationAssocs

int numOfObservationAssocs(int target)
Get the number of observations that are associated with the specified target


numOfTargetAssocs

int numOfTargetAssocs(int observation)
Get the number of targets that are associated with the specified observation


setAssociation

void setAssociation(int target,
                    int observation)
Set an association between target and observation.


unsetAssociation

void unsetAssociation(int target,
                      int observation)
Unset the association between target and observation.