PyMacroPTPlugin.MacroPTExperiment¶
- class MacroPTExperiment¶
-
Synopsis¶
Methods¶
def
__init__()def
execute()def
getAlgorithm()def
getEngine()def
getNbThreads()def
getOutputData()def
getParameters()def
getSimulating()def
getTotalCost()def
iterationsInfo()def
setAlgorithm()def
setEngine()def
setForest()def
setNbThreads()def
setParameters()def
setSimulating()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
A Macro Assignment Experiment. It holds variables that affects the internal models. They can be changed to calibrated a model.
A Macro Experiment is part of one, and only one, Scenario (
MacroScenario).- __init__()¶
Algorithm internal name
- getCreateParameters()¶
- Return type:
Returns the experiment parameters previously created it they exist. If the current parameters are NULL it initializes new parameters and returns it.
Engine internal name
Returns the number of threads to be use.
- getOutputData()¶
- Return type:
- getParameters()¶
- Return type:
Returns the experiment parameters previously created or NULL if no parameters have been defined.
- iterationsInfo()¶
- Return type:
.list of MacroIterationInfo
- setAlgorithm(name)¶
- Parameters:
name – str
Algorithm internal name
- setEngine(name)¶
- Parameters:
name – str
Engine internal name
- setIterationsInfo(iterationsInfo)¶
- Parameters:
iterationsInfo – .list of MacroIterationInfo
- setNbThreads(value)¶
- Parameters:
value – int
Sets the number of threads to be use.
- setParameters(iParams)¶
- Parameters:
iParams –
MacroPTExperimentParams
Sets the experiment parameters
- setSimulating(_simulating)¶
- Parameters:
_simulating – bool