public class OptimizationSettings
extends java.lang.Object
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
Modifier and Type | Field and Description |
---|---|
protected int |
maxIteration |
protected int |
uniOfExe |
protected boolean |
wriSteNum |
Constructor and Description |
---|
OptimizationSettings() |
OptimizationSettings(int maximumNumberOfIteration,
boolean writeStepNumber,
int unitsOfExecution) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxIteration()
Get the maximum number of main iteration steps
|
int |
getMaxUnitsOfExecution()
Get the maximum number of units of executions
|
boolean |
writeStepNumber()
returns the flag that indicates whether the step number
has to written to the simulation input file or not.
|
protected int maxIteration
protected boolean wriSteNum
protected int uniOfExe
public OptimizationSettings()
public OptimizationSettings(int maximumNumberOfIteration, boolean writeStepNumber, int unitsOfExecution)
maximumNumberOfIteration
- the maximum number of iterationwriteStepNumber
- flag that indicates whether the step number
has to written to the simulation input file (true
)
or not false
unitsOfExecution
- the maximum number of units of executions to be usedpublic final boolean writeStepNumber()
true
if the step number has to written,
false
otherwisepublic final int getMaxIteration()
public final int getMaxUnitsOfExecution()