uk.ac.starlink.table.join
Class AnisotropicCartesianMatchEngine

java.lang.Object
  extended by uk.ac.starlink.table.join.AbstractCartesianMatchEngine
      extended by 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

Field Summary
 
Fields inherited from interface uk.ac.starlink.table.join.MatchEngine
NO_BINS
 
Constructor Summary
AnisotropicCartesianMatchEngine(double[] errs)
          Constructs an anisotropic Cartesian matcher.
 
Method Summary
 DescribedValue[] getMatchParameters()
          Returns a set of matching parameters, one representing the radius of each axis of the error ellipse for each dimension.
 String toString()
           
 
Methods inherited from class uk.ac.starlink.table.join.AbstractCartesianMatchEngine
canBoundMatch, getBins, getDimensions, getError, getMatchBounds, getMatchScoreInfo, getNormaliseScores, getScaleFactor, getTuningParameters, getTupleInfos, matchScore, setError, setNormaliseScores, setScaleFactor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.