public class AssociateUniqueByScoreAlg
extends java.lang.Object
| Constructor and Description |
|---|
AssociateUniqueByScoreAlg(MatchScoreType type,
boolean checkSource,
boolean checkDestination)
Configures algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDestination() |
boolean |
checkSource() |
org.ddogleg.struct.FastQueue<AssociatedIndex> |
getMatches() |
void |
process(org.ddogleg.struct.FastQueue<AssociatedIndex> matches,
int numSource,
int numDestination)
Given a set of matches, enforce the uniqueness rules it was configured to.
|
public AssociateUniqueByScoreAlg(MatchScoreType type, boolean checkSource, boolean checkDestination)
type - Used to determine which score is bettercheckSource - Should it check source features for uniquenesscheckDestination - Should it check destination features for uniquenesspublic void process(org.ddogleg.struct.FastQueue<AssociatedIndex> matches, int numSource, int numDestination)
matches - Set of matching featuresnumSource - Number of source featuresnumDestination - Number of destination featurespublic org.ddogleg.struct.FastQueue<AssociatedIndex> getMatches()
public boolean checkSource()
public boolean checkDestination()