uk.ac.starlink.ttools.join
Class HumanMatchEngine
java.lang.Object
uk.ac.starlink.ttools.join.HumanMatchEngine
- All Implemented Interfaces:
- uk.ac.starlink.table.join.MatchEngine
public class HumanMatchEngine
- extends Object
- implements uk.ac.starlink.table.join.MatchEngine
MatchEngine adaptor which transforms the base engine so that it
uses more human-friendly units. Currently, this means that it uses
eschews radians in favour of degrees for RA & Dec,
and in favour of arcseconds for other quantities (assumed errors of
some kind). Obviously, in other respects, this engine will behave
exactly the same as its base engine. If the base engine has no
human-unfriendly units, this one should behave exactly the same.
- Since:
- 2 Sep 2005
- Author:
- Mark Taylor
Fields inherited from interface uk.ac.starlink.table.join.MatchEngine |
NO_BINS |
Constructor Summary |
HumanMatchEngine(uk.ac.starlink.table.join.MatchEngine baseEngine)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HumanMatchEngine
public HumanMatchEngine(uk.ac.starlink.table.join.MatchEngine baseEngine)
- Constructor.
- Parameters:
baseEngine
- the match engine supplying the base behaviour
for this one
getMatchParameters
public uk.ac.starlink.table.DescribedValue[] getMatchParameters()
- Specified by:
getMatchParameters
in interface uk.ac.starlink.table.join.MatchEngine
getTupleInfos
public uk.ac.starlink.table.ValueInfo[] getTupleInfos()
- Specified by:
getTupleInfos
in interface uk.ac.starlink.table.join.MatchEngine
getBins
public Object[] getBins(Object[] tuple)
- Specified by:
getBins
in interface uk.ac.starlink.table.join.MatchEngine
matchScore
public double matchScore(Object[] tuple1,
Object[] tuple2)
- Specified by:
matchScore
in interface uk.ac.starlink.table.join.MatchEngine
getMatchScoreInfo
public uk.ac.starlink.table.ValueInfo getMatchScoreInfo()
- Specified by:
getMatchScoreInfo
in interface uk.ac.starlink.table.join.MatchEngine
canBoundMatch
public boolean canBoundMatch()
- Specified by:
canBoundMatch
in interface uk.ac.starlink.table.join.MatchEngine
getMatchBounds
public Comparable[][] getMatchBounds(Comparable[] minTuple,
Comparable[] maxTuple)
- Specified by:
getMatchBounds
in interface uk.ac.starlink.table.join.MatchEngine
Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.