edu.uci.ics.jung.graph.predicates
Class CliqueGraphPredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GraphPredicate
edu.uci.ics.jung.graph.predicates.CliqueGraphPredicate
- All Implemented Interfaces:
- Predicate
public class CliqueGraphPredicate
- extends GraphPredicate
Returns true if this graph is a clique (that is, if
each vertex in the graph is a neighbor of each other
vertex; also known as a complete graph).
- Author:
- danyelf
CliqueGraphPredicate
protected CliqueGraphPredicate()
getInstance
public static CliqueGraphPredicate getInstance()
evaluateGraph
public boolean evaluateGraph(ArchetypeGraph g)
- Specified by:
evaluateGraph
in class GraphPredicate
- See Also:
GraphPredicate.evaluateGraph(edu.uci.ics.jung.graph.ArchetypeGraph)
toString
public String toString()
- Overrides:
toString
in class Object