edu.uci.ics.jung.graph.predicates
Class CliqueGraphPredicate

java.lang.Object
  extended byedu.uci.ics.jung.graph.predicates.GraphPredicate
      extended byedu.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

Method Summary
 boolean evaluateGraph(ArchetypeGraph g)
           
static CliqueGraphPredicate getInstance()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.uci.ics.jung.graph.predicates.GraphPredicate
evaluate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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()