DebugObserver¶
-
class
foronoi.
DebugObserver
(callback=None)¶ Listens to debug messages.
- Parameters
callback (function) – By default, the DebugObserver prints the debug message. When a callback function is given, it will pass the debug message as string to the callback function.
-
update
(subject: foronoi.observers.subject.Subject, message: foronoi.observers.message.Message, **kwargs)¶ Send the updated state of the algorithm to the VoronoiObserver.