1 / 13

A Framework for Building MAS

A Framework for Building MAS. Framework. An Agent-Based Infrastructure for building multiagent (mobile or not) systems. Some agent-based frameworks Impact Retsina Jade Aglet YinYang. Characteristics. Design Autonomy Communication Infrastructure Directory Service Message Protocol

Download Presentation

A Framework for Building MAS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Framework for Building MAS

  2. Framework • An Agent-Based Infrastructure for building multiagent (mobile or not) systems. • Some agent-based frameworks • Impact • Retsina • Jade • Aglet • YinYang

  3. Characteristics • Design Autonomy • Communication Infrastructure • Directory Service • Message Protocol • Mediation Services • Security Services

  4. YinYang System • To create an agent society • Make it easy to build MA systems • Agents can be static, private or mobile • Execute asynchronously & autonomously • Online and Scalable • Use Java and Jini Technology • Use KQML as Agent Communication Language

  5. D1 P1 P3 D3 D2 P2 P4 YinYang Architecture

  6. YinYang Architecture • YinYang system is an agent society that consists of several agent organizations. • Every agent organization contains • A Manager • One or several Domains that connect to that Manager • Each domain contains one or several agents

  7. Agent Organization

  8. Run Agents • You stay at Domain D1 • An Agent x is located at Domain D2 • You can run x • At D2 and get result at D1 • At D3 and get result at D1 • At D1 and get the result

  9. Launch an Agent • You can launch an agent (your own or from another domain) and let everyone run it at your domain. • You can clone an active agent at your domain • You can move an active agent from your domain to another domain.

  10. Agent Communication • Agents Communicate by using KQML • Communication can be • Synchronous or • Asynchronous • Agents can keep several messages in ”inbox” message and handle them automatically.

  11. JDBC • JDBC creates an interface beween applications and Database • Database • Mysql • Cloudscape • Access

  12. ODBC-Access Database • Make an empty Access Database • Start an ODBC driver • Control Panel->ODBC->Add->*.mdb • Edit a sql file: book.sql • Make an application: CreateTable.java • Run program • Java PerformSql book book.sql

  13. Jdbc Program • Load database driver Class.forName(driver); • Set up connection to database Connection con = DriverManager.getConnection • Prepare a Sql Statement Statement s = Con.createStatement • Execute the Sql Statement s.executeUpdate(”…”);

More Related