org.jactr.modules.pm.common.memory.filter
Class NumericIndexFilter

java.lang.Object
  extended by org.jactr.modules.pm.common.memory.filter.AbstractIndexFilter<java.lang.Double>
      extended by org.jactr.modules.pm.common.memory.filter.NumericIndexFilter
All Implemented Interfaces:
IIndexFilter

public class NumericIndexFilter
extends AbstractIndexFilter<java.lang.Double>


Constructor Summary
NumericIndexFilter(java.lang.String slotName, boolean ascending)
           
 
Method Summary
 boolean accept(ChunkTypeRequest template)
           
 java.util.Comparator<ChunkTypeRequest> getComparator()
           
 IIndexFilter instantiate(ChunkTypeRequest request)
          these are self-templating.
 
Methods inherited from class org.jactr.modules.pm.common.memory.filter.AbstractIndexFilter
getPerceptualMemory, getWeight, normalizeRequest, setPerceptualMemory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericIndexFilter

public NumericIndexFilter(java.lang.String slotName,
                          boolean ascending)
Method Detail

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: