|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.search.p2p.chord.ChordSearchAlgorithm
Wrapper for the CHORD Search Algorithm
| Constructor Summary | |
ChordSearchAlgorithm()
Empty Constructor |
|
ChordSearchAlgorithm(edu.uci.ics.jung.graph.Graph graph,
int sourceNode,
int targetNode)
Constructor for CanSearchAlgorithm. |
|
| Method Summary | |
boolean |
execute()
Runs the algorithm. |
int |
getSourceNode()
Get the source node |
int |
getTargetNode()
Get the target node |
void |
setSourceNode(int sourceNode)
Set the starting node for search |
void |
setTargetNode(int targetNode)
Set the target node to search |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChordSearchAlgorithm(edu.uci.ics.jung.graph.Graph graph,
int sourceNode,
int targetNode)
sourceNode - targetNode - public ChordSearchAlgorithm()
| Method Detail |
public boolean execute()
Algorithm
execute in interface AlgorithmAlgorithm.execute()public int getSourceNode()
public int getTargetNode()
public void setSourceNode(int sourceNode)
sourceNode - public void setTargetNode(int targetNode)
targetNode -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||