aea.registries.filter
This module contains registries.
Filter Objects
This class implements the filter of an AEA.
__init__
Instantiate the filter.
Arguments:
resources: the resourcesdecision_maker_out_queue: the decision maker queue
resources
Get resources.
decision_maker_out_queue
Get decision maker (out) queue.
get_active_handlers
Get active handlers based on protocol id and optional skill id.
Arguments:
protocol_id: the protocol idskill_id: the skill id
Returns:
the list of handlers currently active
get_active_behaviours
Get the active behaviours.
Returns:
the list of behaviours currently active
handle_new_handlers_and_behaviours
Handle the messages from the decision maker.
get_internal_message
Get a message from decision_maker_out_queue.
handle_internal_message
Handle internal message.