org.openanzo.jastor.util.graph
Class LCA

java.lang.Object
  extended by org.openanzo.jastor.util.graph.AlgorithmsBase
      extended by org.openanzo.jastor.util.graph.LCA

public class LCA
extends AlgorithmsBase

Author:
Elias Torres ( eliast@us.ibm.com )

Constructor Summary
LCA()
           
 
Method Summary
 void execute()
           
 INode getLCA(INode node1, INode node2)
           
 java.lang.Object result()
           
 void setGraph(IGraph graph)
           
 
Methods inherited from class org.openanzo.jastor.util.graph.AlgorithmsBase
convertToAdjList, convertToAdjMatrix, convertToAdjMatrix, convertToPrintMatrix, convertToPrintMatrix, getGraph, printMatrix, printMatrix, printMatrix
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LCA

public LCA()
Method Detail

setGraph

public void setGraph(IGraph graph)
Overrides:
setGraph in class AlgorithmsBase

execute

public void execute()
Specified by:
execute in class AlgorithmsBase

result

public java.lang.Object result()
Specified by:
result in class AlgorithmsBase

getLCA

public INode getLCA(INode node1,
                    INode node2)


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.