public class VectorVisualLocationFilter extends AbstractVisualLocationIndexFilter<java.lang.Double>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANGLE_SLOT |
static java.lang.String |
DESTINATION_SLOT |
static java.lang.String |
ORIGIN_SLOT |
static java.lang.String |
THRESHOLD_SLOT |
Modifier | Constructor and Description |
---|---|
|
VectorVisualLocationFilter() |
protected |
VectorVisualLocationFilter(double[] origin,
double[] destination,
double threshold,
double angle) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ChunkTypeRequest visualLocationTemplate) |
protected java.lang.Double |
compute(ChunkTypeRequest request) |
java.util.Comparator<ChunkTypeRequest> |
getComparator() |
IIndexFilter |
instantiate(ChunkTypeRequest request)
these are self-templating.
|
void |
normalizeRequest(ChunkTypeRequest request)
can be used to expand variables or special values
|
clearCache, get, getCoordinates, getPerceptualMemory, getVisualLocation, getVisualLocation, getVisualMemory, getWeight, setPerceptualMemory, setWeight
public static final java.lang.String ANGLE_SLOT
public static final java.lang.String ORIGIN_SLOT
public static final java.lang.String DESTINATION_SLOT
public static final java.lang.String THRESHOLD_SLOT
public VectorVisualLocationFilter()
protected VectorVisualLocationFilter(double[] origin, double[] destination, double threshold, double angle)
protected java.lang.Double compute(ChunkTypeRequest request)
compute
in class AbstractVisualLocationIndexFilter<java.lang.Double>
public boolean accept(ChunkTypeRequest visualLocationTemplate)
public java.util.Comparator<ChunkTypeRequest> getComparator()
public IIndexFilter instantiate(ChunkTypeRequest request)
IIndexFilter
public void normalizeRequest(ChunkTypeRequest request)
IIndexFilter