Store¶
- class ioh.iohcpp.logger.Store(self, triggers: collections.abc.Sequence[ioh.iohcpp.logger.trigger.Trigger], properties: collections.abc.Sequence[ioh.iohcpp.logger.property.AbstractProperty])¶
Bases:
AbstractLoggerA logger which stores all tracked properties in memory.
- Parameters:
Attributes Summary
Reference to the currently attached problem
Methods Summary
add_trigger(self, arg, /)Add a trigger to the logger
at(self, arg0, arg1, arg2, arg3, arg4, arg5, /)Accessor for a specific stored record
attach_problem(self, problem)attach a problem (MetaData) to a logger
call(self, arg, /)Performs logging behaviour
data(self)Accessor to the internal data container
reset(self)Reset the state of the logger
watch(-> None -> None)Overloaded function.
Attributes Documentation
- problem¶
Reference to the currently attached problem
Methods Documentation
- add_trigger(self, arg: ioh.iohcpp.logger.trigger.Trigger, /) None¶
Add a trigger to the logger
- at(self, arg0: str, arg1: int, arg2: int, arg3: int, arg4: int, arg5: int, /) dict[str, float | None]¶
Accessor for a specific stored record
- attach_problem(self, problem: ioh.iohcpp.MetaData) None¶
attach a problem (MetaData) to a logger
- call(self, arg: ioh.iohcpp.LogInfo, /) None¶
Performs logging behaviour
- data(self) dict[str, dict[int, dict[int, dict[int, dict[int, dict[int, dict[str, float | None]]]]]]]¶
Accessor to the internal data container
- reset(self) None¶
Reset the state of the logger
- watch(self, arg: ioh.iohcpp.logger.property.AbstractProperty, /) None¶
- watch(self, arg0: object, arg1: str, /) None
- watch(self, arg0: object, arg1: collections.abc.Sequence[str], /) None
Overloaded function.
watch(self, arg: ioh.iohcpp.logger.property.AbstractProperty, /) -> None
Add a property
watch(self, arg0: object, arg1: str, /) -> None
Add a property
watch(self, arg0: object, arg1: collections.abc.Sequence[str], /) -> None
Add multliple properties