IDataSource
DataSourceAcceptanceProbability
public class DataSourceAcceptanceRatio extends DataSourceScalar
Modifier and Type | Field | Description |
---|---|---|
protected MCMove |
move |
data, dataInfo, tag
Constructor | Description |
---|---|
DataSourceAcceptanceRatio() |
Constructs with no MCMove specified.
|
DataSourceAcceptanceRatio(MCMove move) |
Modifier and Type | Method | Description |
---|---|---|
Unit |
defaultIOUnit() |
|
double |
getDataAsScalar() |
Returns the value of the acceptance ratio as currently kept by
the MCMove class identified with setMove.
|
MCMove |
getMove() |
|
void |
setMove(MCMove mv) |
Sets the move for which the acceptance ratio is reported.
|
getData, getDataDouble, getDataInfo, getTag
protected MCMove move
public DataSourceAcceptanceRatio()
public DataSourceAcceptanceRatio(MCMove move)
public Unit defaultIOUnit()
public void setMove(MCMove mv)
public MCMove getMove()
public double getDataAsScalar()
getDataAsScalar
in class DataSourceScalar