← Back to coordination
InputFileInterface¶
Source: Distributed_Design_Optimizer/coordination/InputFileInterface.py
Interface module for input file configurations.
This module defines the abstract interface for input files that specify optimization problem setup, including subsystems, coordination methods, iteration schemes, and execution parameters.
Classes¶
InputFileInterface¶
Inherits from:
ABCAbstract interface for input file configurations.
This interface defines the contract for input files that specify optimization problem setup, including subsystems, coordination methods, iteration schemes, and execution mode configuration.
Methods¶
get_Subsystems(self) → List[SubSystemInterface]
📐 Pseudocode: Require hyperparameters and initial coupling parameters (Lines 1, 2, 3) → Unified Algorithmic Structure
Get the list of subsystem subsystems for the optimization.
Returns:
List[SubSystemInterface]: The list of subsystem subsystems.
get_CoordinationMethod(self) → CoordinationMethodInterface
📐 Pseudocode: Require hyperparameters and initial coupling parameters (Lines 1, 2, 3) → Unified Algorithmic Structure
Get the coordination method for this optimization.
Returns:
CoordinationMethodInterface: description
get_IterationScheme(self) → IterationSchemeInterface
Get the iteration scheme for the optimization.
Returns:
IterationSchemeInterface: The iteration scheme instance.
get_Name(self) → str
Get the name identifier for this input file configuration.
Returns:
str: The name of the input file configuration.
get_HistoryFolderPath(self) → str
Get the folder path where history .dill files are saved.
The path is derived from the location of the concrete InputFile
subclass (i.e. the use-case folder under userfiles/
Returns:
str: The absolute path to the use-case's historyfiles folder.
print_startup_summary(self) → None
Print the input file configuration summary (use-case name and coordination method).