be.ac.ucl.ingi.totem.repository.guiComponents
Class RttMeasuresGraph
java.lang.Object
be.ac.ucl.ingi.totem.repository.guiComponents.RttMeasuresGraph
- Direct Known Subclasses:
- RttMeasuresGraphImplementations.NormalizedIncreasingDelayGraph, RttMeasuresGraphImplementations.SimpleIncreasingDelayGraph
public abstract class RttMeasuresGraph
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGGREGATE
public static final java.lang.String AGGREGATE
- See Also:
- Constant Field Values
minRtt
public int minRtt
maxRtt
public int maxRtt
minNodes
public int minNodes
maxNodes
public int maxNodes
RttMeasuresGraph
public RttMeasuresGraph()
minRttMeasurementReportInterpretors
public int minRttMeasurementReportInterpretors()
- Returns:
- the minimum number of measurement reports this graph needs
maxRttMeasurementReportInterpretors
public int maxRttMeasurementReportInterpretors()
- Returns:
- the maximum number of measurement reports this graph needs. -1 if there is no maximum
mustChooseNode
public boolean mustChooseNode()
- Returns:
- whether one must specify which nodes of the chosen measurement reports have to be graphed
minNodesChosen
public int minNodesChosen()
- Returns:
- the total minimum number of nodes chosen from the measurement reports
maxNodesChosen
public int maxNodesChosen()
- Returns:
- the total maximum number of nodes chosen fro the measurement reports
mustBeSimilarNodes
public boolean mustBeSimilarNodes()
- Returns:
- returns whether the nodes chosen the measurement reports must be the same
setParameters
public void setParameters(RttMeasurementReportInterpreter[] ri,
java.lang.String[][] keys)
- Sets the measurement reports and chosen keys that are to be graphed
- Parameters:
ri
- the measurement reports whose data is to be graphedkeys
- the first dimensionof the array refers to the index of ri. the second dimension is the
the nodes that are to be graphed. RttMeasurementReportInterpreter.AGGREGATE refers to the aggregate of data
In mustBeSimilarNodes() is true then it is admissable to idicate all the keys in the first array ie keys[0].lenght == 1
graph
public abstract org.jfree.chart.JFreeChart graph()
- Returns:
- a JFreeChart containing the graph with parameters previously specified with setParameters
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.