Package org.jgrapht.alg.interfaces
Class CliqueAlgorithm.CliqueImpl<V>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- org.jgrapht.util.WeightedUnmodifiableSet<V>
-
- org.jgrapht.alg.interfaces.CliqueAlgorithm.CliqueImpl<V>
-
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<V>
,java.util.Collection<V>
,java.util.Set<V>
,CliqueAlgorithm.Clique<V>
- Enclosing interface:
- CliqueAlgorithm<V>
public static class CliqueAlgorithm.CliqueImpl<V> extends WeightedUnmodifiableSet<V> implements CliqueAlgorithm.Clique<V>
Default implementation of a (weighted) clique- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jgrapht.util.WeightedUnmodifiableSet
backingSet, weight
-
-
Constructor Summary
Constructors Constructor Description CliqueImpl(java.util.Set<V> clique)
CliqueImpl(java.util.Set<V> clique, double weight)
-
Method Summary
-
Methods inherited from class org.jgrapht.util.WeightedUnmodifiableSet
add, addAll, clear, contains, containsAll, equals, getWeight, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jgrapht.alg.interfaces.CliqueAlgorithm.Clique
getWeight
-
-