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

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

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

Constructor Detail

CliqueGraphPredicate

protected CliqueGraphPredicate()
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 String toString()
Overrides:
toString in class Object