fitbenchmarking.controllers.controller_factory module¶
This file contains a factory implementation for the controllers. This is used to manage the imports and reduce effort in adding new controllers.
-
class
fitbenchmarking.controllers.controller_factory.ControllerFactory¶ Bases:
objectA factory for creating software controllers. This has the capability to select the correct controller, import it, and generate an instance of it. Controllers generated from this must be a subclass of base_controller.Controller
-
static
create_controller(software)¶ Create a controller that matches the required software.
Parameters: software (string) – The name of the software to create a controller for Returns: Controller class for the problem Return type: fitbenchmarking.fitting.base_controller.Controller subclass
-
static