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
- See Also:
NeighborIterator
-
-
Constructor Summary
Constructors Constructor and Description AllPairsIterator(Clustering clustering)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanhasNext()Instancenext()-
Methods inherited from class cc.mallet.cluster.iterator.NeighborIterator
remove
-
-
-
-
Constructor Detail
-
AllPairsIterator
public AllPairsIterator(Clustering clustering)
- Parameters:
clustering- True Clustering.
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public Instance next()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG