JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.graph
Class DirectedGraph.SecondVertex

java.lang.Object
  extended bygov.nasa.javaGenes.graph.DirectedGraph.SecondVertex
All Implemented Interfaces:
Predicate, java.io.Serializable
Enclosing class:
DirectedGraph

protected class DirectedGraph.SecondVertex
extends java.lang.Object
implements Predicate

this predicate decides if a vertex is acceptable as a second vertex when adding an edge during graph construction

See Also:
Serialized Form

Field Summary
protected  DirectedVertex acceptsOutput
           
 
Constructor Summary
DirectedGraph.SecondVertex(DirectedVertex vertex)
           
 
Method Summary
 boolean execute(java.lang.Object object)
          executes this predicate on object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acceptsOutput

protected DirectedVertex acceptsOutput
Constructor Detail

DirectedGraph.SecondVertex

public DirectedGraph.SecondVertex(DirectedVertex vertex)
Method Detail

execute

public boolean execute(java.lang.Object object)
Description copied from interface: Predicate
executes this predicate on object

Specified by:
execute in interface Predicate

JavaGenes, NASA Ames. Written largely by Al Globus