Package astra.lang

Class AgentState

    • Field Detail

      • beliefs

        public byte[] beliefs
    • Constructor Detail

      • AgentState

        public AgentState​(String name,
                          String type,
                          byte[] beliefs)
        A container to hold the state of an agent (this is not used in execution, but can be used to store, retrieve, or transfer the agents state).
        Parameters:
        name - the name of the agent
        type - the type of the agent
        beliefs - a byte array containing a binary representation of the beliefs of the agent