adf_core_python.core.agent.communication.standard.bundle.centralized package#
Submodules#
adf_core_python.core.agent.communication.standard.bundle.centralized.command_ambulance module#
- class adf_core_python.core.agent.communication.standard.bundle.centralized.command_ambulance.CommandAmbulance(is_wireless_message: bool, command_executor_agent_entity_id: EntityID, sender_entity_id: EntityID, execute_action: int, priority: StandardMessagePriority, command_target_entity_id: EntityID | None = None)#
ベースクラス:
StandardMessage
- ACTION_AUTONOMY: int = 5#
- ACTION_LOAD: int = 3#
- ACTION_MOVE: int = 1#
- ACTION_RESCUE: int = 2#
- ACTION_REST: int = 0#
- ACTION_UNLOAD: int = 4#
- SIZE_ACTION: int = 4#
- SIZE_AMBULANCE_TEAM_ENTITY_ID: int = 32#
- SIZE_TARGET_ENTITY_ID: int = 32#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) CommandAmbulance #
- get_bit_size() int #
- get_command_executor_agent_entity_id() EntityID | None #
- get_command_target_entity_id() EntityID | None #
- get_execute_action() int | None #
- is_broadcast() bool #
- to_bits() bitarray #
adf_core_python.core.agent.communication.standard.bundle.centralized.command_fire module#
- class adf_core_python.core.agent.communication.standard.bundle.centralized.command_fire.CommandFire(is_wireless_message: bool, command_executor_agent_entity_id: EntityID, sender_entity_id: EntityID, execute_action: int, priority: StandardMessagePriority, command_target_entity_id: EntityID | None = None)#
ベースクラス:
StandardMessage
- ACTION_AUTONOMY: int = 5#
- ACTION_EXTINGUISH: int = 2#
- ACTION_MOVE: int = 1#
- ACTION_REFILL: int = 3#
- ACTION_RESCUE: int = 4#
- ACTION_REST: int = 0#
- SIZE_ACTION: int = 4#
- SIZE_FIRE_BRIGADE_ENTITY_ID: int = 32#
- SIZE_TARGET_ENTITY_ID: int = 32#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) CommandFire #
- get_bit_size() int #
- get_command_executor_agent_entity_id() EntityID | None #
- get_command_target_entity_id() EntityID | None #
- get_execute_action() int | None #
- is_broadcast() bool #
- to_bits() bitarray #
adf_core_python.core.agent.communication.standard.bundle.centralized.command_police module#
- class adf_core_python.core.agent.communication.standard.bundle.centralized.command_police.CommandPolice(is_wireless_message: bool, command_executor_agent_entity_id: EntityID, sender_entity_id: EntityID, execute_action: int, priority: StandardMessagePriority, command_target_entity_id: EntityID | None = None)#
ベースクラス:
StandardMessage
- ACTION_AUTONOMY: int = 3#
- ACTION_CLEAR: int = 2#
- ACTION_MOVE: int = 1#
- ACTION_REST: int = 0#
- SIZE_ACTION: int = 4#
- SIZE_POLICE_FORCE_ENTITY_ID: int = 32#
- SIZE_TARGET_ENTITY_ID: int = 32#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) CommandPolice #
- get_bit_size() int #
- get_command_executor_agent_entity_id() EntityID | None #
- get_command_target_entity_id() EntityID | None #
- get_execute_action() int | None #
- is_broadcast() bool #
- to_bits() bitarray #
adf_core_python.core.agent.communication.standard.bundle.centralized.command_scout module#
- class adf_core_python.core.agent.communication.standard.bundle.centralized.command_scout.CommandScout(is_wireless_message: bool, command_executor_agent_entity_id: EntityID, sender_entity_id: EntityID, scout_range: int, priority: StandardMessagePriority, command_target_entity_id: EntityID | None = None)#
ベースクラス:
StandardMessage
- SIZE_AGENT_ENTITY_ID: int = 32#
- SIZE_SCOUT_RANGE: int = 32#
- SIZE_TARGET_ENTITY_ID: int = 32#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) CommandScout #
- get_bit_size() int #
- get_command_executor_agent_entity_id() EntityID | None #
- get_command_target_entity_id() EntityID | None #
- get_scout_range() int | None #
- is_broadcast() bool #
- to_bits() bitarray #
adf_core_python.core.agent.communication.standard.bundle.centralized.message_report module#
- class adf_core_python.core.agent.communication.standard.bundle.centralized.message_report.MessageReport(is_wireless_message: bool, is_done: bool, is_bloadcast: bool, sender_entity_id: EntityID, priority: StandardMessagePriority)#
ベースクラス:
StandardMessage
- SIZE_BLOADCAST: int = 1#
- SIZE_DONE: int = 1#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) MessageReport #
- get_bit_size() int #
- is_broadcast() bool #
- is_done() bool #
- to_bits() bitarray #