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
CommandAmbulanceCommandAmbulance.ACTION_AUTONOMYCommandAmbulance.ACTION_LOADCommandAmbulance.ACTION_MOVECommandAmbulance.ACTION_RESCUECommandAmbulance.ACTION_RESTCommandAmbulance.ACTION_UNLOADCommandAmbulance.SIZE_ACTIONCommandAmbulance.SIZE_AMBULANCE_TEAM_ENTITY_IDCommandAmbulance.SIZE_TARGET_ENTITY_IDCommandAmbulance.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
CommandFireCommandFire.ACTION_AUTONOMYCommandFire.ACTION_EXTINGUISHCommandFire.ACTION_MOVECommandFire.ACTION_REFILLCommandFire.ACTION_RESCUECommandFire.ACTION_RESTCommandFire.SIZE_ACTIONCommandFire.SIZE_FIRE_BRIGADE_ENTITY_IDCommandFire.SIZE_TARGET_ENTITY_IDCommandFire.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
CommandPoliceCommandPolice.ACTION_AUTONOMYCommandPolice.ACTION_CLEARCommandPolice.ACTION_MOVECommandPolice.ACTION_RESTCommandPolice.SIZE_ACTIONCommandPolice.SIZE_POLICE_FORCE_ENTITY_IDCommandPolice.SIZE_TARGET_ENTITY_IDCommandPolice.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
CommandScoutCommandScout.SIZE_AGENT_ENTITY_IDCommandScout.SIZE_SCOUT_RANGECommandScout.SIZE_TARGET_ENTITY_IDCommandScout.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
MessageAmbulanceTeamMessageAmbulanceTeam.ACTION_LOADMessageAmbulanceTeam.ACTION_MOVEMessageAmbulanceTeam.ACTION_RESCUEMessageAmbulanceTeam.ACTION_RESTMessageAmbulanceTeam.ACTION_UNLOADMessageAmbulanceTeam.SIZE_ACTIONMessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_BURIEDNESSMessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_DAMAGEMessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_ENTITY_IDMessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_HPMessageAmbulanceTeam.SIZE_AMBULANCE_TEAM_POSITIONMessageAmbulanceTeam.SIZE_TARGET_ENTITY_IDMessageAmbulanceTeam.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
MessageBuildingMessageBuilding.SIZE_BUILDING_BROKENNESSMessageBuilding.SIZE_BUILDING_ENTITY_IDMessageBuilding.SIZE_BUILDING_FIREYNESSMessageBuilding.SIZE_BUILDING_TEMPERATUREMessageBuilding.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
MessageCivilianMessageCivilian.SIZE_CIVILIAN_BURIEDNESSMessageCivilian.SIZE_CIVILIAN_DAMAGEMessageCivilian.SIZE_CIVILIAN_ENTITY_IDMessageCivilian.SIZE_CIVILIAN_HPMessageCivilian.SIZE_CIVILIAN_POSITIONMessageCivilian.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
MessageFireBrigadeMessageFireBrigade.ACTION_EXTINGUISHMessageFireBrigade.ACTION_MOVEMessageFireBrigade.ACTION_REFILLMessageFireBrigade.ACTION_RESCUEMessageFireBrigade.ACTION_RESTMessageFireBrigade.SIZE_ACTIONMessageFireBrigade.SIZE_FIRE_BRIGADE_BURIEDNESSMessageFireBrigade.SIZE_FIRE_BRIGADE_DAMAGEMessageFireBrigade.SIZE_FIRE_BRIGADE_ENTITY_IDMessageFireBrigade.SIZE_FIRE_BRIGADE_HPMessageFireBrigade.SIZE_FIRE_BRIGADE_POSITIONMessageFireBrigade.SIZE_FIRE_BRIGADE_WATERMessageFireBrigade.SIZE_TARGET_ENTITY_IDMessageFireBrigade.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
MessagePoliceForceMessagePoliceForce.ACTION_CLEARMessagePoliceForce.ACTION_MOVEMessagePoliceForce.ACTION_RESTMessagePoliceForce.SIZE_ACTIONMessagePoliceForce.SIZE_POLICE_FORCE_BURIEDNESSMessagePoliceForce.SIZE_POLICE_FORCE_DAMAGEMessagePoliceForce.SIZE_POLICE_FORCE_ENTITY_IDMessagePoliceForce.SIZE_POLICE_FORCE_HPMessagePoliceForce.SIZE_POLICE_FORCE_POSITIONMessagePoliceForce.SIZE_TARGET_ENTITY_IDMessagePoliceForce.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
MessageRoadMessageRoad.ACTION_CLEARMessageRoad.ACTION_MOVEMessageRoad.ACTION_RESTMessageRoad.SIZE_PASSABLEMessageRoad.SIZE_ROAD_BLOCKADE_ENTITY_IDMessageRoad.SIZE_ROAD_BLOCKADE_REPAIR_COSTMessageRoad.SIZE_ROAD_BLOCKADE_XMessageRoad.SIZE_ROAD_BLOCKADE_YMessageRoad.SIZE_ROAD_ENTITY_IDMessageRoad.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#