All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aid.cbr.tools.time.BehaviouralKnnIndex

java.lang.Object
   |
   +----aid.cbr.tools.core.memory.index.AbstractIndex
           |
           +----aid.cbr.tools.core.memory.index.SimpleIndex
                   |
                   +----aid.cbr.tools.core.memory.index.KnnIndex
                           |
                           +----aid.cbr.tools.time.BehaviouralKnnIndex

public class BehaviouralKnnIndex
extends KnnIndex

Constructor Index

 o BehaviouralKnnIndex(CmpValueOrder, Similarity, int)

Method Index

 o caseIdEnum(IndexParams)
 o finalizeCompute(CmpValue, Object, GlobalIndexParams, IndexParams, CompoundIndice)
 o finalizeSearch(KnnQueue, GlobalIndexParams, IndexParams, KnnIndexResult)
 o newKnnCaseComparison()
 o newKnnQueue(CmpValueOrder, int)
 o search(CompoundIndice, GlobalIndexParams, IndexParams, IndexResult)
 o updateStructure(Object, CompoundIndice, GlobalIndexParams, IndexParams, IndexResult)

Constructors

 o BehaviouralKnnIndex
 public BehaviouralKnnIndex(CmpValueOrder order,
                            Similarity sim,
                            int k)

Methods

 o updateStructure
 protected void updateStructure(Object caseId,
                                CompoundIndice indices,
                                GlobalIndexParams gp,
                                IndexParams p,
                                IndexResult r)
Overrides:
updateStructure in class SimpleIndex
 o search
 protected void search(CompoundIndice indices,
                       GlobalIndexParams gp,
                       IndexParams p,
                       IndexResult r)
Overrides:
search in class SimpleIndex
 o newKnnQueue
 protected KnnQueue newKnnQueue(CmpValueOrder order,
                                int k)
 o finalizeSearch
 protected void finalizeSearch(KnnQueue queue,
                               GlobalIndexParams gp,
                               IndexParams g,
                               KnnIndexResult r)
 o caseIdEnum
 protected Iterator caseIdEnum(IndexParams p)
 o finalizeCompute
 protected CmpValue finalizeCompute(CmpValue sim,
                                    Object caseId,
                                    GlobalIndexParams gp,
                                    IndexParams p,
                                    CompoundIndice indices)
 o newKnnCaseComparison
 protected KnnCaseComparison newKnnCaseComparison()

All Packages  Class Hierarchy  This Package  Previous  Next  Index