class documentation

class ObserverOptions(dict):

Constructor: ObserverOptions(options)

View In Hierarchy

a dict with observer options which can be passed to the (C-based) Observer via the as_string property.

See http://numbbo.github.io/coco-doc/C/#observer-parameters for details on the available (C-based) options.

Details: When the Observer class in future accepts a dictionary also, this class becomes superfluous and could be replaced by a method default_observer_options similar to default_observers.

Method __init__ set default options from global variables and input options.
Method update add or update options
Method update_gracefully update from each entry of parameter options: dict but only if key is not already present
Property as_string string representation which is accepted by Observer class, which calls the underlying C interface
def __init__(self, options={}):

set default options from global variables and input options.

Default values are created "dynamically" based on the setting of module-wide variables SOLVER, suite_name, and budget.

def update(self, *args, **kwargs):

add or update options

def update_gracefully(self, options):

update from each entry of parameter options: dict but only if key is not already present

@property
as_string =

string representation which is accepted by Observer class, which calls the underlying C interface