public class Targets
extends java.lang.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
|
java.util.ArrayList<java.lang.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 java.util.ArrayList<java.lang.Double> getPositions()
public Target getTargetAtPosition(double position)
value
- Copyright © 2013. All Rights Reserved.