adf_core_python.core.agent.communication.standard.bundle package#
Subpackages#
- adf_core_python.core.agent.communication.standard.bundle.centralized package
- Submodules
- adf_core_python.core.agent.communication.standard.bundle.centralized.command_ambulance module
CommandAmbulance
CommandAmbulance.ACTION_AUTONOMY
CommandAmbulance.ACTION_LOAD
CommandAmbulance.ACTION_MOVE
CommandAmbulance.ACTION_RESCUE
CommandAmbulance.ACTION_REST
CommandAmbulance.ACTION_UNLOAD
CommandAmbulance.SIZE_ACTION
CommandAmbulance.SIZE_AMBULANCE_TEAM_ENTITY_ID
CommandAmbulance.SIZE_TARGET_ENTITY_ID
CommandAmbulance.from_bits()
CommandAmbulance.get_bit_size()
CommandAmbulance.get_command_executor_agent_entity_id()
CommandAmbulance.get_command_target_entity_id()
CommandAmbulance.get_execute_action()
CommandAmbulance.is_broadcast()
CommandAmbulance.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.centralized.command_fire module
CommandFire
CommandFire.ACTION_AUTONOMY
CommandFire.ACTION_EXTINGUISH
CommandFire.ACTION_MOVE
CommandFire.ACTION_REFILL
CommandFire.ACTION_RESCUE
CommandFire.ACTION_REST
CommandFire.SIZE_ACTION
CommandFire.SIZE_FIRE_BRIGADE_ENTITY_ID
CommandFire.SIZE_TARGET_ENTITY_ID
CommandFire.from_bits()
CommandFire.get_bit_size()
CommandFire.get_command_executor_agent_entity_id()
CommandFire.get_command_target_entity_id()
CommandFire.get_execute_action()
CommandFire.is_broadcast()
CommandFire.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.centralized.command_police module
CommandPolice
CommandPolice.ACTION_AUTONOMY
CommandPolice.ACTION_CLEAR
CommandPolice.ACTION_MOVE
CommandPolice.ACTION_REST
CommandPolice.SIZE_ACTION
CommandPolice.SIZE_POLICE_FORCE_ENTITY_ID
CommandPolice.SIZE_TARGET_ENTITY_ID
CommandPolice.from_bits()
CommandPolice.get_bit_size()
CommandPolice.get_command_executor_agent_entity_id()
CommandPolice.get_command_target_entity_id()
CommandPolice.get_execute_action()
CommandPolice.is_broadcast()
CommandPolice.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.centralized.command_scout module
CommandScout
CommandScout.SIZE_AGENT_ENTITY_ID
CommandScout.SIZE_SCOUT_RANGE
CommandScout.SIZE_TARGET_ENTITY_ID
CommandScout.from_bits()
CommandScout.get_bit_size()
CommandScout.get_command_executor_agent_entity_id()
CommandScout.get_command_target_entity_id()
CommandScout.get_scout_range()
CommandScout.is_broadcast()
CommandScout.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.centralized.message_report module
- Module contents
- adf_core_python.core.agent.communication.standard.bundle.information package
- Submodules
- adf_core_python.core.agent.communication.standard.bundle.information.message_ambulance_team module
MessageAmbulanceTeam
MessageAmbulanceTeam.ACTION_LOAD
MessageAmbulanceTeam.ACTION_MOVE
MessageAmbulanceTeam.ACTION_RESCUE
MessageAmbulanceTeam.ACTION_REST
MessageAmbulanceTeam.ACTION_UNLOAD
MessageAmbulanceTeam.SIZE_ACTION
MessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_BURIEDNESS
MessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_DAMAGE
MessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_ENTITY_ID
MessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_HP
MessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_POSITION
MessageAmbulanceTeam.SIZE_TARGET_ENTITY_ID
MessageAmbulanceTeam.from_bits()
MessageAmbulanceTeam.get_action()
MessageAmbulanceTeam.get_ambulance_team_buriedness()
MessageAmbulanceTeam.get_ambulance_team_damage()
MessageAmbulanceTeam.get_ambulance_team_entity_id()
MessageAmbulanceTeam.get_ambulance_team_hp()
MessageAmbulanceTeam.get_ambulance_team_position()
MessageAmbulanceTeam.get_bit_size()
MessageAmbulanceTeam.get_target_entity_id()
MessageAmbulanceTeam.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.information.message_building module
MessageBuilding
MessageBuilding.SIZE_BUILDING_BROKENNESS
MessageBuilding.SIZE_BUILDING_ENTITY_ID
MessageBuilding.SIZE_BUILDING_FIREYNESS
MessageBuilding.SIZE_BUILDING_TEMPERATURE
MessageBuilding.from_bits()
MessageBuilding.get_bit_size()
MessageBuilding.get_building_brokenness()
MessageBuilding.get_building_entity_id()
MessageBuilding.get_building_fireyness()
MessageBuilding.get_building_temperature()
MessageBuilding.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.information.message_civilian module
MessageCivilian
MessageCivilian.SIZE_CIVILIAN_BURIEDNESS
MessageCivilian.SIZE_CIVILIAN_DAMAGE
MessageCivilian.SIZE_CIVILIAN_ENTITY_ID
MessageCivilian.SIZE_CIVILIAN_HP
MessageCivilian.SIZE_CIVILIAN_POSITION
MessageCivilian.from_bits()
MessageCivilian.get_bit_size()
MessageCivilian.get_civilian_buriedness()
MessageCivilian.get_civilian_damage()
MessageCivilian.get_civilian_entity_id()
MessageCivilian.get_civilian_hp()
MessageCivilian.get_civilian_position()
MessageCivilian.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.information.message_fire_brigade module
MessageFireBrigade
MessageFireBrigade.ACTION_EXTINGUISH
MessageFireBrigade.ACTION_MOVE
MessageFireBrigade.ACTION_REFILL
MessageFireBrigade.ACTION_RESCUE
MessageFireBrigade.ACTION_REST
MessageFireBrigade.SIZE_ACTION
MessageFireBrigade.SIZE_FIRE_BRIGADE_BURIEDNESS
MessageFireBrigade.SIZE_FIRE_BRIGADE_DAMAGE
MessageFireBrigade.SIZE_FIRE_BRIGADE_ENTITY_ID
MessageFireBrigade.SIZE_FIRE_BRIGADE_HP
MessageFireBrigade.SIZE_FIRE_BRIGADE_POSITION
MessageFireBrigade.SIZE_FIRE_BRIGADE_WATER
MessageFireBrigade.SIZE_TARGET_ENTITY_ID
MessageFireBrigade.from_bits()
MessageFireBrigade.get_action()
MessageFireBrigade.get_bit_size()
MessageFireBrigade.get_fire_brigade_buriedness()
MessageFireBrigade.get_fire_brigade_damage()
MessageFireBrigade.get_fire_brigade_entity_id()
MessageFireBrigade.get_fire_brigade_hp()
MessageFireBrigade.get_fire_brigade_position()
MessageFireBrigade.get_fire_brigade_water()
MessageFireBrigade.get_target_entity_id()
MessageFireBrigade.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.information.message_police_force module
MessagePoliceForce
MessagePoliceForce.ACTION_CLEAR
MessagePoliceForce.ACTION_MOVE
MessagePoliceForce.ACTION_REST
MessagePoliceForce.SIZE_ACTION
MessagePoliceForce.SIZE_POLICE_FORCE_BURIEDNESS
MessagePoliceForce.SIZE_POLICE_FORCE_DAMAGE
MessagePoliceForce.SIZE_POLICE_FORCE_ENTITY_ID
MessagePoliceForce.SIZE_POLICE_FORCE_HP
MessagePoliceForce.SIZE_POLICE_FORCE_POSITION
MessagePoliceForce.SIZE_TARGET_ENTITY_ID
MessagePoliceForce.from_bits()
MessagePoliceForce.get_action()
MessagePoliceForce.get_bit_size()
MessagePoliceForce.get_police_force_buriedness()
MessagePoliceForce.get_police_force_damage()
MessagePoliceForce.get_police_force_entity_id()
MessagePoliceForce.get_police_force_hp()
MessagePoliceForce.get_police_force_position()
MessagePoliceForce.get_target_entity_id()
MessagePoliceForce.to_bits()
- adf_core_python.core.agent.communication.standard.bundle.information.message_road module
MessageRoad
MessageRoad.ACTION_CLEAR
MessageRoad.ACTION_MOVE
MessageRoad.ACTION_REST
MessageRoad.SIZE_PASSABLE
MessageRoad.SIZE_ROAD_BLOCKADE_ENTITY_ID
MessageRoad.SIZE_ROAD_BLOCKADE_REPAIR_COST
MessageRoad.SIZE_ROAD_BLOCKADE_X
MessageRoad.SIZE_ROAD_BLOCKADE_Y
MessageRoad.SIZE_ROAD_ENTITY_ID
MessageRoad.from_bits()
MessageRoad.get_bit_size()
MessageRoad.get_is_passable()
MessageRoad.get_is_send_blockade_location()
MessageRoad.get_road_blockade_entity_id()
MessageRoad.get_road_blockade_repair_cost()
MessageRoad.get_road_blockade_x()
MessageRoad.get_road_blockade_y()
MessageRoad.get_road_entity_id()
MessageRoad.to_bits()
- Module contents
Submodules#
adf_core_python.core.agent.communication.standard.bundle.standard_message module#
- class adf_core_python.core.agent.communication.standard.bundle.standard_message.StandardMessage(is_wireless_message: bool, priority: StandardMessagePriority, sender_entity_id: EntityID, ttl: int | None = None)#
ベースクラス:
CommunicationMessage
- SIZE_TTL: int = 3#
- classmethod from_bits(bit_array: bitarray, is_wireless_message: bool, sender_entity_id: EntityID) StandardMessage #
- get_bit_size() int #
- get_priority() StandardMessagePriority #
- get_sender_entity_id() EntityID #
- get_ttl() int | None #
- to_bits() bitarray #