Download Hvordan skrive en effektiv kravspesifikasjon

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Database wikipedia , lookup

Concurrency control wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

SQL wikipedia , lookup

Clusterpoint wikipedia , lookup

PL/SQL wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Transcript
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
Mediation Services
Security Services
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
YinYang Architecture
D1
P1
P3
D3
D2
P2
P4
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
Agent Organization
D1
x
D2
Domain
Domain
Manager
Domain
D3
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
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.
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.
JDBC
• JDBC creates an interface beween
applications and Database
• Database
– Mysql
– Cloudscape
– Access
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
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(”…”);