lbaf.Model.lbsWorkModelBase.WorkModelBase class

An abstract base class of per-rank work model.

Classes

class __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).

Static methods

def factory(work_name, parameters, lgr: logging.Logger)
Produce the necessary concrete work model.

Methods

def compute(self, rank)
Return value of work for given rank.

Special methods

def __init__(self, parameters = None)
Class constructor.

Method documentation

def lbaf.Model.lbsWorkModelBase.WorkModelBase.__init__(self, parameters = None)

Class constructor.

:param parameters: optional parameters dictionary.