|
mwalk Platform 0.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mwalk.app.Builder
A runnable class that builds the tree from mtraces and receiver interval information.
Field Summary | |
protected int |
graphEdges
Number of total edges in graph |
protected int |
otherSources
Number of other sources seen when building paths |
protected int |
pathlessEdges
Number of edges removed due to not having a path back to the source |
protected int |
pathlessNodes
Number of nodes removed due to not having a path back to the source |
protected int |
pathlessReceivers
Number of receivers removed due to not having a path back to the source |
protected int |
sourcePaths
Number of paths ignored do to gateway-only restrictions |
protected int |
treeLinks
Number of primary links in the tree |
Constructor Summary | |
Builder()
Default constructor. |
Method Summary | |
void |
addPaths(Tree tree)
Add paths to tree from parsed mtrace logs. |
void |
addReceivers(Tree tree)
Add receivers to tree from parsed RTCP logs. |
Tree |
build()
Build tree from supplied logs. |
void |
cleanPaths(Tree tree)
Remove nodes and links from the tree if they have no path back to the source. |
static void |
main(java.lang.String[] args)
Main application method. |
void |
markPrimaryPaths(Tree tree)
Mark primary paths for each receiver. |
void |
mergePeriods(Tree tree)
Merge overlapping active periods to reduce the size of the period tables. |
void |
readStats(Tree tree)
Read statistics file to extract the session time for the given session. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected int otherSources
protected int treeLinks
protected int graphEdges
protected int pathlessNodes
protected int pathlessReceivers
protected int pathlessEdges
protected int sourcePaths
Constructor Detail |
public Builder()
Method Detail |
public Tree build() throws BuildException
BuildException
- if an error occurred during buildpublic void readStats(Tree tree) throws BuildException
Tree
- active treeBuildException
- if session time not availablepublic void addReceivers(Tree tree) throws BuildException
Tree
- active treeBuildException
- if receivers could not be addedpublic void addPaths(Tree tree) throws BuildException
Tree
- active treeBuildException
- if paths could not be addedpublic void cleanPaths(Tree tree) throws BuildException
Tree
- active treepublic void mergePeriods(Tree tree) throws BuildException
Tree
- active treeBuildException
- if merge failedpublic void markPrimaryPaths(Tree tree) throws BuildException
Tree
- active treeBuildException
- if merge failedpublic static void main(java.lang.String[] args)
String[]
- command line arguments.
|
mwalk Platform 0.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |