|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.gpuflux.scene.experiment.Experiment
public class Experiment
| Constructor Summary | |
|---|---|
Experiment(LongToIntHashMap nodeToGroup,
java.util.Vector<? extends Measurement> measurements,
Measurement zero)
Constructor |
|
| Method Summary | |
|---|---|
void |
aggregate(Experiment map,
float scale)
Aggregate two experiments by scaling the input experiment and adding it to this experiment. |
int |
checkGroupId(Node node)
Maps an input node to a group index in the measurement vector |
Measurement |
getMeasurement(Node node)
Maps an input node to a measurement |
Measurement |
getZero()
Returns a zero measurement corresponding to this experiment |
void |
mul(float scale)
Scales all measurements in the experiment by a single scale factor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Experiment(LongToIntHashMap nodeToGroup,
java.util.Vector<? extends Measurement> measurements,
Measurement zero)
nodeToGroup - node to group mappingmeasurements - vector of measurements for each groupzero - default zero measurement| Method Detail |
|---|
public void aggregate(Experiment map,
float scale)
map - scale - public int checkGroupId(Node node)
node -
public Measurement getMeasurement(Node node)
node - input node
public Measurement getZero()
public void mul(float scale)
scale - scale factor
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||