e01.org

Agent-oriented programming

Agent-oriented programming (AOP) is a programming paradigm where the construction of the software is centered on the concept of software agents. In contrast to object-oriented programming which has objects (providing methods with variable parameters) at its core, AOP has externally specified agents (with interfaces and messaging capabilities) at its core. They can be thought of as abstractions of objects. Exchanged messages are interpreted by receiving "agents", in a way specific to its class of agents.

Agent-oriented programming (AOP) is a programming paradigm where the construction of the software is centered on the concept of software agents. In contrast to object-oriented programming which has objects (providing methods with variable parameters) at its core, AOP has externally specified agents (with interfaces and messaging capabilities) at its core. They can be thought of as abstractions of objects. Exchanged messages are interpreted by receiving "agents", in a way specific to its class of agents. package org.wikipedia.examples; import jade.core.Agent; public class Example extends Agent { protected void setup() { System.out.println("Hello, world!"); System.out.printf("My name is %s%n", getLocalName()); } public Hello() { System.out.println("Constructor called"); } } At the core of JADE's AOP model is that its API supports the standard FIPA Agent Communication Language started. +started package helloworld import io.sarl.core.Initialize agent HelloWorldAgent { on Initialize { println("Hello World.") } } from pade.acl.aid import AID from pade.core.agent import Agent from pade.misc.utility import display_message class AgenteHelloWorld(Agent): def __init__(self, aid: AID): super(AgenteHelloWorld, self).__init__(aid=aid) display_message(self.aid.localname, "Hello World!")

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Agent-oriented programming". 1790578217. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377208467

JSON record · API collection · citation policy