Store#

class ioh.iohcpp.logger.Store(self: ioh.iohcpp.logger.Store, triggers: List[ioh.iohcpp.logger.trigger.Trigger], properties: List[ioh.iohcpp.logger.property.AbstractProperty])#

Bases: AbstractLogger

A logger which stores all tracked properties in memory.

Parameters:
  • triggers (list[Trigger]) – List of triggers, i.e. when to trigger logging

  • properties (list[Property]) – The list of properties to keep track of

Attributes Summary

problem

Reference to the currently attached problem

Methods Summary

add_trigger(self, arg0)

Add a trigger to the logger

at(self, arg0, arg1, arg2, arg3, arg4, arg5)

Accessor for a specific stored record

call(self, arg0)

Performs logging behaviour

data(self)

Accessor to the internal data container

reset(self)

Reset the state of the logger

watch(*args, **kwargs)

Overloaded function.

Attributes Documentation

problem#

Reference to the currently attached problem

Methods Documentation

add_trigger(self: ioh.iohcpp.logger.Logger, arg0: ioh.iohcpp.logger.trigger.Trigger) None#

Add a trigger to the logger

at(self: ioh.iohcpp.logger.Store, arg0: str, arg1: int, arg2: int, arg3: int, arg4: int, arg5: int) Dict[str, float | None]#

Accessor for a specific stored record

call(self: ioh.iohcpp.logger.Logger, arg0: ioh.iohcpp.LogInfo) None#

Performs logging behaviour

data(self: ioh.iohcpp.logger.Store) Dict[str, Dict[int, Dict[int, Dict[int, Dict[int, Dict[int, Dict[str, float | None]]]]]]]#

Accessor to the internal data container

reset(self: ioh.iohcpp.logger.Logger) None#

Reset the state of the logger

watch(*args, **kwargs)#

Overloaded function.

  1. watch(self: ioh.iohcpp.logger.Store, arg0: ioh.iohcpp.logger.property.AbstractProperty) -> None

Add a property

  1. watch(self: ioh.iohcpp.logger.Store, arg0: object, arg1: str) -> None

Add a property

  1. watch(self: ioh.iohcpp.logger.Store, arg0: object, arg1: List[str]) -> None

Add multliple properties