class
LBAFApplicationLBAF application class.
Methods
- def _LBAFApplication__configure(self, *config_path)
- Configure the application using the configuration file(s) at the given path(s).
- def _LBAFApplication__merge(self, src: dict, dest: dict) -> dict
- Merges dictionaries. Internally used to merge configuration data
- def _LBAFApplication__merge_configurations(self, *config_path)
- Generates a unique configuration dict from multiple configurations from a path list
- def _LBAFApplication__parse_args(self)
- Parse arguments.
- def _LBAFApplication__print_QOI(self) -> int
- Print list of implemented QOI based on the '-verbosity' command line argument.
- def _LBAFApplication__print_statistics(self, phase: Model.lbsPhase.Phase, phase_name: str, work_model: Model.lbsWorkModelBase.WorkModelBase = None)
- Print a set of rank and edge statistics
- def _LBAFApplication__resolve_config_path(self, config_path) -> str
- Find the config file from the '-configuration' command line argument and returns its absolute path (if configuration file path is relative it is searched in the current working directory and at the end in the {PROJECT_PATH}/config directory)
- def run(self, cfg = None, cfg_dir = None)
- Run the LBAF application.
Special methods
- def __init__(self)
Method documentation
def lbaf. Applications. LBAF_app. LBAFApplication. _LBAFApplication__configure(self, *config_path)
Configure the application using the configuration file(s) at the given path(s).
:param config_path: The configuration file path. If multiple then provide it from the most generic to the most specialized. :returns: The configuration as a dictionary
def lbaf. Applications. LBAF_app. LBAFApplication. _LBAFApplication__resolve_config_path(self, config_path) -> str
Find the config file from the '-configuration' command line argument and returns its absolute path (if configuration file path is relative it is searched in the current working directory and at the end in the {PROJECT_PATH}/config directory)
:raises FileNotFoundError: if configuration file cannot be found