khiops.core.internals.scenario
Submodule of khiops.core.internals
Classes for creating Khiops scenario files
| CLASS | DESCRIPTION |
|---|---|
ConfigurableKhiopsScenario |
A configurable Khiops scenario |
Classes
ConfigurableKhiopsScenario(template)
A configurable Khiops scenario
This class encapsulates a template Khiops scenario and its parameters. It allows to replace the template keyword to write an executable scenario.
| PARAMETER | DESCRIPTION |
|---|---|
template
|
The template scenario.
TYPE:
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
template |
The template scenario file.
TYPE:
|
See class docstring
| METHOD | DESCRIPTION |
|---|---|
check_keyword_completeness |
Check if a list of keys is exactly that of the template of this scenario |
write |
Writes the de-templatized scenario with the specified arguments |
Methods:
check_keyword_completeness(call_keywords)
Check if a list of keys is exactly that of the template of this scenario
write(writer, scenario_args)
Writes the de-templatized scenario with the specified arguments
| PARAMETER | DESCRIPTION |
|---|---|
writer
|
The output writer for the scenario file.
TYPE:
|
scenario_args
|
Values of the scenario template arguments.
TYPE:
|