jcolibri.extensions.textual.IE.common.crn
Class CRNTable

java.lang.Object
  extended by jcolibri.extensions.textual.IE.common.crn.CRNTable

public class CRNTable
extends java.lang.Object

Stores the Index entries for a case base

Author:
iaa

Constructor Summary
CRNTable()
          Creates a new instance of CRNTable
 
Method Summary
 void addEntry(CRNIndexEntry e)
          adds a single entry to the indexing structure
 void computeMatrix()
           
 void computeUnits()
           
 java.util.ArrayList<java.lang.Object> getCaseIds()
           
 Matrix getNormalisedUnitsCasesMatrix()
           
 int getNumCases()
          Computes the maximum term frequency in each case that is used to normalise the term frequencies
 java.util.ArrayList<java.lang.String> getUnits()
           
 short[][] getUnitsCasesMatrix()
           
 void print()
          Print all the entries in the indexing structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRNTable

public CRNTable()
Creates a new instance of CRNTable

Method Detail

addEntry

public void addEntry(CRNIndexEntry e)
adds a single entry to the indexing structure


computeMatrix

public void computeMatrix()

getNormalisedUnitsCasesMatrix

public Matrix getNormalisedUnitsCasesMatrix()

getUnits

public java.util.ArrayList<java.lang.String> getUnits()

getUnitsCasesMatrix

public short[][] getUnitsCasesMatrix()

print

public void print()
Print all the entries in the indexing structure


computeUnits

public void computeUnits()

getNumCases

public int getNumCases()
Computes the maximum term frequency in each case that is used to normalise the term frequencies


getCaseIds

public java.util.ArrayList<java.lang.Object> getCaseIds()