Agent-oriented programming
The agent-oriented programming is a programming, on the theory of agent-oriented paradigms of Yoav Shoham -based and mainly in the programming language PROLOG is used.
In 1993 Shoham published agent-oriented paradigms that are based on mental states, which means the inner state of software agents that is not visible from the outside . A formal language describes the mental states that are determined by assumptions and obligations.
- Actions are described, e.g. B. REQUEST, INFORM.
- Beliefs are assumptions that the agent has about his environment, i.e. all the data that is available to him.
- Commitments are assurances that the agent gives to his environment (other agents). They say that if the agent receives a certain message while in a certain mental state, it will take a certain action.
- Conventional programs are wrapped in a wrapper so that they can be viewed as agents. Shoham speaks of "Agentifizierung" ( agentification ).
- Time-based temporal logic is used.
Languages for agent-oriented programming
PLACA is a further development of the theoretical programming language AGENT-0. PLACA was developed at Stanford University by Sarah Rebecca Thomas. In contrast to AGENT-0, PLACA has the advantage that not only inquiries from other agents can be answered and inquiries directed to them, but also direct mechanisms exist in PLACA to pursue a goal and to carry out several actions one after the other to achieve a goal to reach. Each agent in PLACA has an ordered list of intentions (goals) and an ordered list of plans. To manage these lists, PLACA has the following syntactic structure:
- (INTEND x) - The PLACA agent tries to make statement y true. Therefore x is added to the list of intentions.
- (ADOPT x) - Adds the intention or plan to the list of intentions or plans.
- (Drop x) - Deletes the intentions x or the plan x from the list of intentions or plans.
- (CAN-DO x) - The agent reports that it can carry out action x.
CAROL5 was implemented in C ++ to implement group learning systems.
literature
- Yoav Shoham: Agent-Oriented Programming . Artificial Intelligence 60 (1993) 51-92, Stanford, CA, USA
- Yoav Shoham: An overview of agent-oriented programming . MIT Press, Cambridge, MA, USA 1997, ISBN 0-262-52234-9
- Matthew A. Huntbach, Graem A. Ringwood: Agent-Oriented Programming . Springer, Berlin 1999, ISBN 3-540-66683-4