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
no text concepts found
Transcript
Agent Communication Language
Agent Coordination
• Agents communicate in order to achieve
better the goals of themselves or of the
society
• Coordination is a property of a system of
agents performing some activity in a shared
environment
Coordination
Knowledge Sharing
• Need: KS
– Mutual understanding of knowledge
– The communication of that knowledge
• Knowledge Sharing Effort: KSE
– Interlingua: Knowledge Interchange Format
– SRKB: Shared, Reusable Knowledge Bases
– External Interface: KQML
Interoperating Model
Ontology
• Ontology provides a set of concepts and
terms for describing thing in some domain,
while a knowledge base use those terms to
represent what is true about some real or
hypothetical world.
• Thing: Living, NonLiving
• Thing: Concrete, Abstract, Process, Object
KQML
• Knowledge Query Manipulation Language
• KQML was conceived as both a message
and a message-handling protocol to support
runtime knowledge sharing among agents
• Three layers:
– The content layer
– The message layer
– The communication layer.
KQML
KQML Statement
(ask-one
:sender Agent1
:receiver Agent2
:in-reply-to id1
:reply-with id2
:language Prolog
:ontology NYSE_TICKS
:content (Price IBM)
)
KQML in YinYang
• KQMLNode
– String getKeyWord()
– String getContent()
• KQMLParser
– String kqmlPerformative()
– KQMLNode nextNode()
– Boolean hasMoreElements()