uk.ac.starlink.table.join
Class AnisotropicCartesianMatchEngine
java.lang.Object
uk.ac.starlink.table.join.AbstractCartesianMatchEngine
uk.ac.starlink.table.join.AnisotropicCartesianMatchEngine
- All Implemented Interfaces:
- MatchEngine
public class AnisotropicCartesianMatchEngine
- extends AbstractCartesianMatchEngine
Matcher which matches in an anisotropic N-dimensional Cartesian space.
Two points are considered matching if they fall within an error
ellipse whose principle radii can be specified.
- Since:
- 25 Aug 2004
Methods inherited from class uk.ac.starlink.table.join.AbstractCartesianMatchEngine |
canBoundMatch, getBins, getDimensions, getError, getMatchBounds, getMatchScoreInfo, getNormaliseScores, getScaleFactor, getTuningParameters, getTupleInfos, matchScore, setError, setNormaliseScores, setScaleFactor |
AnisotropicCartesianMatchEngine
public AnisotropicCartesianMatchEngine(double[] errs)
- Constructs an anisotropic Cartesian matcher.
Matching scores are normalised by default, since it won't in general
make sense to use non-normalised ones (there's no obvious metric
in anisotropic space).
The initial values of the error ellipse are specified here;
the dimensionality of the space is defined by the length of
this array.
- Parameters:
errs
- initial axis lengths of error ellipse
getMatchParameters
public DescribedValue[] getMatchParameters()
- Returns a set of matching parameters, one representing the
radius of each axis of the error ellipse for each dimension.
- Specified by:
getMatchParameters
in interface MatchEngine
- Specified by:
getMatchParameters
in class AbstractCartesianMatchEngine
- Returns:
- array of described values which influence the match
toString
public String toString()
- Specified by:
toString
in class AbstractCartesianMatchEngine