edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap Class Reference

Inheritance diagram for edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CombineAggregateMetricVarMap ()
void setScopes (Scope s_source, Scope s_target)
double getValue (String varName)
 Overloaded method: a callback to retrieve the value of a variable (or a metric) If the variable is a normal variable, it will call the parent method.
void setExperiment (Experiment exp)
void setScope (Scope s)
 set the current scope which contains metric values
void setValue (String varName, double val)
 Assigns the value to the specified variable name.
boolean isCaseSensitive ()
 Returns true if the case of the variable names is considered.
String[] getVariableNames ()
 Returns an array of exact length of the variable names stored in this map.
double[] getValues ()
 Returns an array of exact length of the values stored in this map.
void remove (String varName)
 Removes the variable-name from the map.

Static Public Member Functions

static void main (String[] args)
 Unit test for MetricVarMap.

Private Attributes

Scope scopes []
int iCounter

Detailed Description

Definition at line 5 of file CombineAggregateMetricVarMap.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap.CombineAggregateMetricVarMap (  ) 

Member Function Documentation

double edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap.getValue ( String  varName  ) 

Overloaded method: a callback to retrieve the value of a variable (or a metric) If the variable is a normal variable, it will call the parent method.

Reimplemented from edu.rice.cs.hpc.data.experiment.metric.MetricVarMap.

Definition at line 25 of file CombineAggregateMetricVarMap.java.

References edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap.iCounter, and edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap.scopes.

double [] com.graphbuilder.math.VarMap.getValues (  )  [inherited]

Returns an array of exact length of the values stored in this map.

The returned array corresponds to the order of the names returned by getVariableNames.

Definition at line 97 of file VarMap.java.

References com.graphbuilder.math.VarMap.numVars, and com.graphbuilder.math.VarMap.value.

String [] com.graphbuilder.math.VarMap.getVariableNames (  )  [inherited]

Returns an array of exact length of the variable names stored in this map.

Definition at line 84 of file VarMap.java.

References com.graphbuilder.math.VarMap.name, and com.graphbuilder.math.VarMap.numVars.

boolean com.graphbuilder.math.VarMap.isCaseSensitive (  )  [inherited]

Returns true if the case of the variable names is considered.

Definition at line 77 of file VarMap.java.

References com.graphbuilder.math.VarMap.caseSensitive.

static void edu.rice.cs.hpc.data.experiment.metric.MetricVarMap.main ( String[]  args  )  [static, inherited]
void com.graphbuilder.math.VarMap.remove ( String  varName  )  [inherited]

Removes the variable-name from the map.

Does nothing if the variable-name is not found.

Definition at line 109 of file VarMap.java.

References com.graphbuilder.math.VarMap.caseSensitive, com.graphbuilder.math.VarMap.name, com.graphbuilder.math.VarMap.numVars, and com.graphbuilder.math.VarMap.value.

void edu.rice.cs.hpc.data.experiment.metric.MetricVarMap.setExperiment ( Experiment  exp  )  [inherited]
void edu.rice.cs.hpc.data.experiment.metric.MetricVarMap.setScope ( Scope  s  )  [inherited]
void edu.rice.cs.hpc.data.experiment.metric.CombineAggregateMetricVarMap.setScopes ( Scope  s_source,
Scope  s_target 
)
void com.graphbuilder.math.VarMap.setValue ( String  varName,
double  val 
) [inherited]

Assigns the value to the specified variable name.

Exceptions:
IllegalArgumentException If the variable name is null.

Definition at line 45 of file VarMap.java.

References com.graphbuilder.math.VarMap.caseSensitive, com.graphbuilder.math.VarMap.name, com.graphbuilder.math.VarMap.numVars, and com.graphbuilder.math.VarMap.value.

Referenced by edu.rice.cs.hpc.data.experiment.metric.MetricVarMap.main(), and com.graphbuilder.test.MathTest.main().


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1