nz.ac.waikato.modeljunit.gui.visualisaton
Class EdgeDisplayPredicate<V,E>

java.lang.Object
  extended by nz.ac.waikato.modeljunit.gui.visualisaton.EdgeDisplayPredicate<V,E>
All Implemented Interfaces:
org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>>

public class EdgeDisplayPredicate<V,E>
extends java.lang.Object
implements org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>>


Field Summary
protected static int MIN_DEGREE
           
protected  boolean show_
           
 
Constructor Summary
EdgeDisplayPredicate(boolean filter)
           
 
Method Summary
 boolean evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
           
 void showExplored(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

show_

protected boolean show_

MIN_DEGREE

protected static final int MIN_DEGREE
See Also:
Constant Field Values
Constructor Detail

EdgeDisplayPredicate

public EdgeDisplayPredicate(boolean filter)
Method Detail

showExplored

public void showExplored(boolean b)

evaluate

public boolean evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
Specified by:
evaluate in interface org.apache.commons.collections15.Predicate<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>>


Copyright © 2009 ModelJUnit Project. All Rights Reserved.