Constructor and Description |
---|
Param(String name,
double dflt,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDefault()
Returns the parameter default value.
|
String |
getDescription()
Returns a short description of this parameter.
|
String |
getName()
Returns the parameter name.
|
abstract double |
nextDown(double d)
Given a value for this parameter,
returns a smaller number that would be a suitable value.
|
abstract double |
nextUp(double d)
Given a value for this parameter,
returns a larger number that would be a suitable value.
|
String |
toString() |
public String getName()
public double getDefault()
public String getDescription()
public abstract double nextDown(double d)
This is used for the GUI. The scaling will still work, though the GUI will be suboptimal, if this is implemented as the identity.
d
- example parameter valued
public abstract double nextUp(double d)
This is used for the GUI. The scaling will still work, though the GUI will be suboptimal, if this is implemented as the identity.
d
- example parameter valued
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.