Package net.sf.tweety.commons.util
Class SubsetIterator<T>
- java.lang.Object
-
- net.sf.tweety.commons.util.SubsetIterator<T>
-
- Type Parameters:
T
- The elements of the set
- All Implemented Interfaces:
java.util.Iterator<java.util.Set<T>>
- Direct Known Subclasses:
DefaultSubsetIterator
,IncreasingSubsetIterator
,RandomSubsetIterator
public abstract class SubsetIterator<T> extends java.lang.Object implements java.util.Iterator<java.util.Set<T>>
Iterates over all subsets of a given set.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description SubsetIterator(java.util.Set<T> set)
Creates a new subset iterator for the given set.
-
-
-
Constructor Detail
-
SubsetIterator
public SubsetIterator(java.util.Set<T> set)
Creates a new subset iterator for the given set.- Parameters:
set
- some set.
-
-