lbaf.Execution.lbsRuntime.Runtime class

A class to handle the execution of the LBS.

Methods

def execute(self, p_id: int, phase_increment: int = 0, lb_iterations = False)
Execute runtime for single phase with given ID or multiple phases in selected range.
def get_work_model(self)
Return runtime work model.

Special methods

def __init__(self, phases: dict, work_model: dict, algorithm: dict, arrangements: list, logger: logging.Logger)
Class constructor.

Method documentation

def lbaf.Execution.lbsRuntime.Runtime.__init__(self, phases: dict, work_model: dict, algorithm: dict, arrangements: list, logger: logging.Logger)

Class constructor.

:param phases: dictionary of Phase instances :param work_model: dictionary with work model name and optional parameters :param algorithm: dictionary with algorithm name and parameters :param arrangements: arrangements that minimize maximum work :param logger: logger for output messages