| prefuse.data.expression.AbstractPredicate prefuse.data.util.ValidEdgePredicate
ValidEdgePredicate | public class ValidEdgePredicate extends AbstractPredicate (Code) | | Filtering predicate over a potential edge table that indicates which
edges are valid edges according to a backing node table. Useful for
creating a pool of edges for which not all node have been created, and
then filtering out the valid edges using the node pool.
author: jeffrey heer |
Method Summary | |
public boolean | getBoolean(Tuple tpl) Indicates if the given tuple can be used as a valid edge for
the nodes of the backing graph. |
ValidEdgePredicate | public ValidEdgePredicate(Graph g)(Code) | | Creates a new ValidEdgePredicate.
Parameters: g - the backing graph, the node table of this graph will be usedto check for valid edges. |
getBoolean | public boolean getBoolean(Tuple tpl)(Code) | | Indicates if the given tuple can be used as a valid edge for
the nodes of the backing graph.
Parameters: tpl - a data tuple from a potential edge table true if the tuple contents allow it to serve as a validedge of between nodes in the backing graph |
|
|