org.jactr.modules.pm.visual.memory.impl.filter
Class NearestVisualLocationFilter
java.lang.Object
org.jactr.modules.pm.visual.memory.impl.filter.AbstractVisualLocationIndexFilter<java.lang.Double>
org.jactr.modules.pm.visual.memory.impl.filter.NearestVisualLocationFilter
- All Implemented Interfaces:
- IIndexFilter
public class NearestVisualLocationFilter
- extends AbstractVisualLocationIndexFilter<java.lang.Double>
provides nearest filtering and also normalizes all references to current,
highest,lowest
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NearestVisualLocationFilter
public NearestVisualLocationFilter()
NearestVisualLocationFilter
public NearestVisualLocationFilter(double[] referenceLocation)
accept
public boolean accept(ChunkTypeRequest template)
getComparator
public java.util.Comparator<ChunkTypeRequest> getComparator()
instantiate
public IIndexFilter instantiate(ChunkTypeRequest request)
- Description copied from interface:
IIndexFilter
- these are self-templating. The master copy is installed and during the
search processing a copy is instantiated.
- Returns:
normalizeRequest
public void normalizeRequest(ChunkTypeRequest searchRequest)
- Description copied from interface:
IIndexFilter
- can be used to expand variables or special values