public class DataAssociationExclusive extends Object implements DataAssociation
unsetAssociation-method sets the association label of target and observation to 0.| Modifier and Type | Field and Description |
|---|---|
protected HashMap<Integer,Integer> |
assocObs |
| Constructor and Description |
|---|
DataAssociationExclusive()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAssociated(int target,
int observation)
Determine if target and observation are associated.
|
boolean |
equals(Object o) |
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.
|
String |
toString() |
void |
unsetAssociation(int target,
int observation)
Unsets the association of the specified observation and state.
|
public void setAssociation(int target,
int observation)
DataAssociationsetAssociation in interface DataAssociationpublic void unsetAssociation(int target,
int observation)
unsetAssociation in interface DataAssociationpublic boolean areAssociated(int target,
int observation)
areAssociated in interface DataAssociationpublic int numOfTargetAssocs(int observation)
DataAssociationnumOfTargetAssocs in interface DataAssociationpublic int numOfObservationAssocs(int target)
DataAssociationnumOfObservationAssocs in interface DataAssociationpublic int[] getAssociatedTargets(int observation)
DataAssociationgetAssociatedTargets in interface DataAssociationpublic int[] getAssociatedObservations(int target)
DataAssociationgetAssociatedObservations in interface DataAssociationpublic int maxAssociatedTargetID()
DataAssociationmaxAssociatedTargetID in interface DataAssociationCopyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.