Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Ambient calculus

From Wikipedia, the free encyclopedia
icon
This articleis missing information about examples. Please expand the article to include this information. Further details may exist on thetalk page.(July 2021)

Incomputer science, theambient calculus is aprocess calculus devised byLuca Cardelli andAndrew D. Gordon in 1998, and used to describe and theorise aboutconcurrent systems that includemobility. Heremobility means both computation carried out on mobile devices (i.e. networks that have a dynamic topology), and mobile computation (i.e. executable code that is able to move around the network). The ambient calculus provides a unified framework for modeling both kinds of mobility.[1] It is used to model interactions in suchconcurrent systems as theInternet.

Since its inception, the ambient calculus has grown into a family of closely related ambient calculi.

Informal description

[edit]

Ambients

[edit]

The fundamental primitive of the ambient calculus is theambient. An ambient is informally defined as abounded place in which computation can occur. The notion of boundaries is considered key to representing mobility, since a boundary defines a contained computational agent that can be moved in its entirety.[1] Examples of ambients include:

  • a web page (bounded by a file)
  • a virtual address space (bounded by an addressing range)
  • a Unix file system (bounded within a physical volume)
  • a single data object (bounded by “self”)
  • a laptop (bounded by its case and data ports)

The key properties of ambients within the Ambient calculus are:

  • Ambients have names, which are used to control access to the ambient.
  • Ambients can be nested inside other ambients (representing, for example, administrative domains)
  • Ambients can be moved as a whole.

Operations

[edit]

Computation is represented as the crossing of boundaries,i.e. the movement of ambients. There are four basic operations (or capabilities) on ambients:[1]

The ambient calculus provides a reduction semantics that formally defines what the results of these operations are.

Communicationwithin (i.e. local to) an ambient is anonymous and asynchronous. Output actions release names or capabilities into the surrounding ambient. Input actions capture a value from the ambient, and bind it to a variable.Non-local I/O can be represented in terms of these local communications actions by a variety of means. One approach is to use mobile “messenger” agents that carry a message from one ambient to another (using the capabilities described above). Another approach is to emulate channel-based communications by modeling a channel in terms of ambients and operations on those ambients.[1] The three basic ambient primitives, namelyin,out, andopen are expressive enough to simulate name-passing channels in theπ-calculus.

See also

[edit]

References

[edit]
  1. ^abcdCardelli, L.; A.D. Gordon. "Mobile Ambients".Proceedings of the First International Conference on Foundations of Software Science and Computation Structure (March 28 - April 4, 1998). M. Nivat, ed. Lecture Notes in Computer Science.1378. Springer-Verlag:140–155.

External links

[edit]
General
Process calculi
Classic problems
Retrieved from "https://en.wikipedia.org/w/index.php?title=Ambient_calculus&oldid=1142447652"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp