public class NearestVisualLocationFilter extends AbstractVisualLocationIndexFilter<java.lang.Double>
Constructor and Description |
---|
NearestVisualLocationFilter() |
NearestVisualLocationFilter(double[] referenceLocation) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ChunkTypeRequest template) |
protected java.lang.Double |
compute(ChunkTypeRequest request) |
java.util.Comparator<ChunkTypeRequest> |
getComparator() |
IIndexFilter |
instantiate(ChunkTypeRequest request)
these are self-templating.
|
void |
normalizeRequest(ChunkTypeRequest searchRequest)
can be used to expand variables or special values
|
clearCache, get, getCoordinates, getPerceptualMemory, getVisualLocation, getVisualLocation, getVisualMemory, getWeight, setPerceptualMemory, setWeight
public NearestVisualLocationFilter()
public NearestVisualLocationFilter(double[] referenceLocation)
protected java.lang.Double compute(ChunkTypeRequest request)
compute
in class AbstractVisualLocationIndexFilter<java.lang.Double>
public boolean accept(ChunkTypeRequest template)
public java.util.Comparator<ChunkTypeRequest> getComparator()
public IIndexFilter instantiate(ChunkTypeRequest request)
IIndexFilter
public void normalizeRequest(ChunkTypeRequest searchRequest)
IIndexFilter