Bardo.PopulationManager.PopulationManagerClient (Bardo v0.1.0)
View SourceClient module for interacting with the PopulationManager.
Summary
Functions
Notifies the population manager that an agent has terminated.
Sends a message to start a new population manager run.
Sends a message to restart a population manager run.
Sends evaluation data to the population manager.
Notifies the population manager that a goal has been reached.
Sets the operation tag for the population manager.
Stops a population manager run with the specified ID.
Notifies the population manager that validation is complete with the given fitness.
Functions
@spec agent_terminated(Bardo.Models.agent_id()) :: :ok
Notifies the population manager that an agent has terminated.
@spec new_run() :: :ok
Sends a message to start a new population manager run.
@spec restart_run() :: :ok
Sends a message to restart a population manager run.
Sends evaluation data to the population manager.
@spec set_goal_reached() :: :ok
Notifies the population manager that a goal has been reached.
@spec set_op_tag(:pause | :continue | :stop) :: :ok
Sets the operation tag for the population manager.
Stops a population manager run with the specified ID.
Parameters
population_id
- ID of the population to stop
Returns
:ok
- If the population was stopped successfully{:error, :not_found}
- If the population was not found
@spec validation_complete(Bardo.Models.agent_id(), float()) :: :ok
Notifies the population manager that validation is complete with the given fitness.