cc.mallet.cluster.iterator
Class AllPairsIterator

java.lang.Object
  extended by cc.mallet.cluster.iterator.NeighborIterator
      extended by cc.mallet.cluster.iterator.AllPairsIterator
All Implemented Interfaces:
java.util.Iterator<Instance>

public class AllPairsIterator
extends NeighborIterator

Iterate over all pairs of Instances.

Since:
1.0
Version:
1.0
Author:
"Aron Culotta"
See Also:
NeighborIterator

Field Summary
 
Fields inherited from class cc.mallet.cluster.iterator.NeighborIterator
clustering
 
Constructor Summary
AllPairsIterator(Clustering clustering)
           
 
Method Summary
 boolean hasNext()
           
 Instance next()
           
 
Methods inherited from class cc.mallet.cluster.iterator.NeighborIterator
getClustering, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllPairsIterator

public AllPairsIterator(Clustering clustering)
Parameters:
clustering - True Clustering.
Method Detail

hasNext

public boolean hasNext()

next

public Instance next()