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:
- org.apache.commons.collections.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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()