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:
Serializable, Iterable<V>, Collection<V>, 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:
  • Constructor Details

    • CliqueImpl

      public CliqueImpl(Set<V> clique)
    • CliqueImpl

      public CliqueImpl(Set<V> clique, double weight)