adf_core_python.core.component.communication package#
Submodules#
adf_core_python.core.component.communication.channel_subscriber module#
- class adf_core_python.core.component.communication.channel_subscriber.ChannelSubscriber#
ベースクラス:
ABC
- abstract subscribe(agent_info: AgentInfo, world_info: WorldInfo, scenario_info: ScenarioInfo) list[int] #
Subscribe to the channel.
- パラメータ:
agent_info (AgentInfo) -- The agent info.
world_info (WorldInfo) -- The world info.
scenario_info (ScenarioInfo) -- The scenario info.
- 戻り値:
The list of subscribed channels.
- 戻り値の型:
list[int]
adf_core_python.core.component.communication.communication_message module#
adf_core_python.core.component.communication.communication_module module#
- class adf_core_python.core.component.communication.communication_module.CommunicationModule#
ベースクラス:
ABC
- abstract receive(agent: Agent, message_manager: MessageManager) None #
- abstract send(agent: Agent, message_manager: MessageManager) None #
adf_core_python.core.component.communication.message_coordinator module#
- class adf_core_python.core.component.communication.message_coordinator.MessageCoordinator#
ベースクラス:
ABC
- abstract coordinate(agent_info: AgentInfo, world_info: WorldInfo, scenario_info: ScenarioInfo, message_manager: MessageManager, send_message_list: list[CommunicationMessage], channel_send_message_list: list[list[CommunicationMessage]]) None #