cc.mallet.types
Class InvertedIndex

java.lang.Object
  extended by cc.mallet.types.InvertedIndex

public class InvertedIndex
extends java.lang.Object


Constructor Summary
InvertedIndex(InstanceList ilist)
           
 
Method Summary
 int getCountWithFeature(int featureIndex)
           
 int getCountWithFeature(java.lang.Object feature)
           
 InstanceList getInstanceList()
           
 java.util.ArrayList getInstancesWithFeature(int featureIndex)
           
 java.util.ArrayList getInstancesWithFeature(java.lang.Object feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertedIndex

public InvertedIndex(InstanceList ilist)
Method Detail

getInstanceList

public InstanceList getInstanceList()

getInstancesWithFeature

public java.util.ArrayList getInstancesWithFeature(int featureIndex)

getInstancesWithFeature

public java.util.ArrayList getInstancesWithFeature(java.lang.Object feature)

getCountWithFeature

public int getCountWithFeature(int featureIndex)

getCountWithFeature

public int getCountWithFeature(java.lang.Object feature)