class py_os_design.DesignExporterCSV
__init__()
class py_os_design.DesignExporterGeneric
__call__(path: PyOSDesign, logger: Path) → bool
__call__(path: PyOSDesignContainer, logger: Path) → bool
__init__()
Raises an exception This class cannot be instantiated from Pythonclass py_os_design.DesignExporterJson
__init__()
class py_os_design.DesignExporterOIA
__init__()
class py_os_design.DesignImporterCSV
__init__()
class py_os_design.DesignImporterGeneric
__call__(inputs: PyOSDesign, criteria: PyOSDesignPoint, path: PyOSCriterionContainer, logger: Path) → bool
__call__(inputs: PyOSDesignContainer, criteria: PyOSDesignPoint, path: PyOSCriterionContainer, logger: Path) → bool
__init__()
Raises an exception This class cannot be instantiated from Pythonclass py_os_design.DesignImporterJson
__init__()
class py_os_design.DesignImporterOIA
__init__()
class py_os_design.DesignRunStatus
EnumerationAWAITING = py_os_design.DesignRunStatus.AWAITING
DONE = py_os_design.DesignRunStatus.DONE
INPROCESS = py_os_design.DesignRunStatus.INPROCESS
class py_os_design.DesignStatus
EnumerationCRITERIA_FAIL = py_os_design.DesignStatus.CRITERIA_FAIL
NO_FAIL = py_os_design.DesignStatus.NO_FAIL
NO_SOLVER_FAIL = py_os_design.DesignStatus.NO_SOLVER_FAIL
RESPONSE_NAN = py_os_design.DesignStatus.RESPONSE_NAN
SOLVER_FAIL = py_os_design.DesignStatus.SOLVER_FAIL
class py_os_design.EntryType
EnumerationBOOL = py_os_design.EntryType.BOOL
INTEGER = py_os_design.EntryType.INTEGER
REAL = py_os_design.EntryType.REAL
STRING = py_os_design.EntryType.STRING
UNINITIALIZED = py_os_design.EntryType.UNINITIALIZED
VARIANT = py_os_design.EntryType.VARIANT
class py_os_design.PyOSDesign
Represents a single design in a DOE. Usually consists of parameters, responses, criteria and additional status information.IsDuplicated() → bool
__init__()
add_missing_criteria(reference: PyOSDesign)
Add criteria from reference that are not defined in self.add_missing_parameters(reference: PyOSDesign)
Add parameters from reference that are not defined in self.add_missing_responses(reference: PyOSDesign)
Add responses from reference that are not defined in self.add_status(status: RunInfoMeta)
dominates(design: PyOSDesign) → bool
Whether the provided design dominates this design regarding fulfilment of criteria.get_algorithm_iteration() → int
get_criteria() → PyOSCriterionContainer
get_design_leaf_number() → int
Return the leaf number of the design’s ID.get_design_type() → DesignTypes
get_id() → HID
get_parameters() → PyOSDesignPoint
get_responses() → PyOSDesignPoint
get_run_status() → DesignRunStatus
get_status() → RunInfoContainer
get_workflow_id() → SupportedAlgorithms
has_error_state() → bool
is_active() → bool
is_awaiting() → bool
is_done() → bool
is_failed() → bool
is_feasible() → object
Return True if the design is feasible. Return False if it is not. Return None if feasibility is unknown.is_incomplete() → bool
is_succeeded() → bool
is_violated() → bool
needs_reevaluation() → bool
set_awaiting()
set_criteria(criteria: PyOSCriterionContainer)
set_design_type(type: DesignTypes)
set_duplication(id: HID)
Specifiy a duplicate of this design.set_id(id: HID)
set_number(number: int)
set_parameters(parameters: PyOSDesignPoint)
set_responses(responses: PyOSDesignPoint)
set_run_status(status: DesignRunStatus)
set_workflow_id(id: SupportedAlgorithms)
class py_os_design.PyOSDesignContainer
Provides access to designs within a DOE__init__()
__iter__() → object
__len__() → int
append_designs(designs: PyOSDesignContainer)
get_best_designs() → PyOSDesignContainer
get_design(id: HID) → PyOSDesign
has_design(id: HID) → bool
push_back(design: PyOSDesign)
rename_parameter(from: str, to: str, adapt_criteria: bool)
rename_response(from: str, to: str, adapt_criteria: bool)
set_design_awaiting(id: HID)
set_designs_done(, force: bool=False])
class py_os_design.PyOSDesignEntry
Wraps a single entry as part of a design.__init__()
__init__(arg2: object) → object
__init__(arg2: UninitializedType)
__init__(arg2: VariantD)
[1] Create a design entry by passing a builtin Python type. Accepted types are str, int, bool and float.get() → object
Extract as Python bultin type.get_domain_type() → EntryType
Get the entry’s domain type.get_scalar() → complex
Try to extract as scalar.get_variant() → VariantD
Try to extract as variant.is_inf() → bool
Whether the value is infinity.is_nan() → bool
Whether the value is NaN.is_scalar() → bool
Whether entry is scalar.is_uninitialized() → bool
Whether the entry is not initialized with a value.size() → int
Get the entry’s size in case it is non-scalar.class py_os_design.PyOSDesignEntryVec
Array of design entries.__contains__(arg2: object) → bool
__delitem__(arg2: object)
__getitem__(arg2: object) → object
__init__()
__iter__() → object
__len__() → int
__setitem__(arg2: object, arg3: object)
append(arg2: object)
extend(arg2: object)
push_back(arg2: PyOSDesignEntry)
size() → int
class py_os_design.PyOSDesignPoint
Collection of design entries keyed by name.__getitem__(arg2: str) → PyOSDesignEntry
__init__()
__iter__() → object
__len__() → int
__setitem__(arg2: str) → PyOSDesignEntry
add(name: str, value: object)
add(name: str, value: VariantD)
add(name: str, value: PyOSDesignEntry)
[0] Extend design point using a Python builtin type. Accepted types are str, int, bool and float. [1] Extend design point using an optiSLang variant. [2] Extend design point using a design entry.class py_os_design.PyOSDesignPointContainer
Array of design points.__init__()
__iter__() → object
__len__() → int
push_back(arg2: PyOSDesignPoint)
py_os_design.PyParameters
alias ofPyOSDesignPoint
py_os_design.PyResponses
alias ofPyOSDesignPoint