nz.ac.waikato.modeljunit.gui.visualisaton
Class VertexDisplayPredicate<V,E>
java.lang.Object
nz.ac.waikato.modeljunit.gui.visualisaton.VertexDisplayPredicate<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>,V>>
public class VertexDisplayPredicate<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>,V>>
Method Summary |
boolean |
evaluate(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,V> context)
|
void |
showExplored(boolean b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
show_
protected boolean show_
MIN_DEGREE
protected static final int MIN_DEGREE
- See Also:
- Constant Field Values
VertexDisplayPredicate
public VertexDisplayPredicate(boolean filter)
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>,V> 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>,V>>
Copyright © 2009 ModelJUnit Project. All Rights Reserved.