Package cc.mallet.cluster.iterator
Class AllPairsIterator
- java.lang.Object
-
- cc.mallet.cluster.iterator.NeighborIterator
-
- 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
Constructors Constructor Description AllPairsIterator(Clustering clustering)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Instance
next()
-
Methods inherited from class cc.mallet.cluster.iterator.NeighborIterator
getClustering, remove
-
-
-
-
Constructor Detail
-
AllPairsIterator
public AllPairsIterator(Clustering clustering)
- Parameters:
clustering
- True Clustering.
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public Instance next()
-
-