|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GraphSource
The GraphSource defines an interface to the graph data that a Graph implementation will query when rendering the graph. This interface provides a variety of methods to query the current data set.
TestGraphSource| Field Summary |
|---|
| Fields inherited from interface org.eclipse.hyades.ui.widgets.grapher.BasicGraphSource |
|---|
NEGATIVE_INFINITY, POSITIVE_INFINITY |
| Method Summary | |
|---|---|
double |
getAverageBetween(double x,
double x2)
Get the average of values between the provided times, inclusive of x and exclusive of x2 |
double |
getCountBetween(double x,
double x2)
Get the count of value entries between the provided times, inclusive of x and exclusive of x2 |
double |
getMax()
Get the maximum time this graph has data at |
double |
getMaxBetween(double x,
double x2)
Get the max of values between the provided times, inclusive of x and exclusive of x2 |
double |
getMin()
Get the minimum time this graph has data at |
double |
getMinBetween(double x,
double x2)
Get the min of values between the provided times, inclusive of x and exclusive of x2 |
double |
getSessionMax()
Get the maxnimum time this graph could have data at. |
double |
getSessionMin()
Get the minimum time this graph could have data at. |
double |
getStandardDeviationBetween(double x,
double x2)
Get the standard deviation of values between the provided times, inclusive of x and exclusive of x2 |
double |
getSumBetween(double x,
double x2)
Get the sum of values between the provided times, inclusive of x and exclusive of x2 |
double |
getValueAt(double x)
Get the value at or immediately before the provided time |
double |
getValueMax()
Get the maximum value this graph source holds |
double |
getValueMin()
Get the minimum value this graph source holds |
| Method Detail |
|---|
double getMin()
getMin in interface BasicGraphSourcedouble getMax()
getMax in interface BasicGraphSourcedouble getSessionMin()
double getSessionMax()
double getValueMax()
double getValueMin()
double getValueAt(double x)
x - the time to get the value at
double getAverageBetween(double x,
double x2)
x - the start time to average fromx2 - the end time to average to
double getSumBetween(double x,
double x2)
x - the start time to sum fromx2 - the end time to sum to
double getMaxBetween(double x,
double x2)
x - the start time to get the max fromx2 - the end time to get the max to
double getMinBetween(double x,
double x2)
x - the start time to get the min fromx2 - the end time to get the min to
double getCountBetween(double x,
double x2)
x - the start time to get the count fromx2 - the end time to get the count to
double getStandardDeviationBetween(double x,
double x2)
x - the start time to get the stddev fromx2 - the end time to get the stddev to
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||