| Constructor and Description |
|---|
VertexData() |
| Modifier and Type | Method and Description |
|---|---|
PartialDependency |
addPartialDep(String src,
double dep,
int successorDelta)
Updates pair dependency data
|
ShortestPathList |
addPathData(PathData data)
Add the new path to the list of shortest paths, if it is indeed a shortest path
|
double |
getApproxBetweenness()
Gets the Approx Betweenness Value
|
Map<String,PartialDependency> |
getPartialDependencyMap()
Gets the Partial Dependency Map
|
Map<String,ShortestPathList> |
getPathDataMap()
Gets the Path Data Map.
|
boolean |
getWasPivotPoint() |
void |
readFields(DataInput in) |
void |
setApproxBetweenness(double approxBetweenness)
Sets the Approx.
|
void |
setPartialDepMap(Map<String,PartialDependency> partialDepMap)
Sets the Partial Dependency Map
|
void |
setPathDataMap(Map<String,ShortestPathList> pathDataMap)
Sets the path data map.
|
void |
setWasPivotPoint(boolean wasPivotPoint) |
void |
write(DataOutput out) |
public ShortestPathList addPathData(PathData data)
data - A shortest path messagepublic PartialDependency addPartialDep(String src, double dep, int successorDelta)
src - The source vertexdep - The partial dependency value of this vertex on the sourcesuccessorDelta - The change in number of successors remaining to accumulate. -1 if accumulating a dependency, 1 if adding a successor.public void write(DataOutput out) throws IOException
write in interface WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface WritableIOExceptionpublic Map<String,PartialDependency> getPartialDependencyMap()
public void setPartialDepMap(Map<String,PartialDependency> partialDepMap)
partialDepMap - The Partial Dependency map to set it to.public double getApproxBetweenness()
public void setApproxBetweenness(double approxBetweenness)
approxBetweenness - The approx. value to set it to.public Map<String,ShortestPathList> getPathDataMap()
public void setPathDataMap(Map<String,ShortestPathList> pathDataMap)
pathDataMap - The path data map to set it to.public boolean getWasPivotPoint()
public void setWasPivotPoint(boolean wasPivotPoint)