public class ValidEdgePredicate extends AbstractPredicate
Constructor and Description |
---|
ValidEdgePredicate(Graph g)
Creates a new ValidEdgePredicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(Tuple tpl)
Indicates if the given tuple can be used as a valid edge for
the nodes of the backing graph.
|
get, getType
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit
public ValidEdgePredicate(Graph g)
g
- the backing graph, the node table of this graph will be used
to check for valid edges.public boolean getBoolean(Tuple tpl)
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
tpl
- a data tuple from a potential edge tableExpression.getBoolean(prefuse.data.Tuple)
Copyright ? 2013 Regents of the University of California