public class Targets extends Object
Constructor and Description |
---|
Targets()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addTarget(double position,
double value)
Adds a target to the model
|
int |
getNTargets()
Returns the number of targets
|
ArrayList<Double> |
getPositions()
Returns all possible target values
|
Target |
getTargetAtPosition(double position)
Returns the target associated to a position.
|
public void addTarget(double position, double value)
target
- public int getNTargets()
public Target getTargetAtPosition(double position)
value
- Copyright © 2013. All Rights Reserved.