Class rpbPath


public class rpbPath
extends java.lang.Object

Field Summary

private long
cost
private long
recievingRouter
Vector
rpbPath1
private long
startingRouter

Constructor Summary

rpbPath(long start, long recieve, Vector vector, long size)

Method Summary

void
addNewVector(Vector newVector, long size)
void
calculateCosts()
long
getCosts()
Vector
getPath()
Router
getPathElement(long elementID)
int
getPathSize()
long
getRecievingRouter()
long
getStartingRouter()
long
isElementInPath(long ElementID)
void
setRecievingRouter(long NewRecievingRouter)
void
setStartingRouter(long NewStartingRouter)

Field Details

cost

private long cost

recievingRouter

private long recievingRouter

rpbPath1

public Vector rpbPath1

startingRouter

private long startingRouter

Constructor Details

rpbPath

public rpbPath(long start,
               long recieve,
               Vector vector,
               long size)

Method Details

addNewVector

public void addNewVector(Vector newVector,
                         long size)

calculateCosts

public void calculateCosts()

getCosts

public long getCosts()

getPath

public Vector getPath()

getPathElement

public Router getPathElement(long elementID)

getPathSize

public int getPathSize()

getRecievingRouter

public long getRecievingRouter()

getStartingRouter

public long getStartingRouter()

isElementInPath

public long isElementInPath(long ElementID)

setRecievingRouter

public void setRecievingRouter(long NewRecievingRouter)

setStartingRouter

public void setStartingRouter(long NewStartingRouter)