Английская Википедия:Bigraph

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:About

A bigraph can be modelled as the superposition of a graph (the link graph) and a set of trees (the place graph).[1][2]

Each node of the bigraph is part of a graph and also part of some tree that describes how the nodes are nested. Bigraphs can be conveniently and formally displayed as diagrams.[1] They have applications in the modelling of distributed systems for ubiquitous computing and can be used to describe mobile interactions. They have also been used by Robin Milner in an attempt to subsume Calculus of Communicating Systems (CCS) and π-calculus.[2] They have been studied in the context of category theory.[3][4]

Anatomy of a bigraph

Aside from nodes and (hyper-)edges, a bigraph may have associated with it one or more regions which are roots in the place forest, and zero or more holes in the place graph, into which other bigraph regions may be inserted. Similarly, to nodes we may assign controls that define identities and an arity (the number of ports for a given node to which link-graph edges may connect). These controls are drawn from a bigraph signature. In the link graph we define inner and outer names, which define the connection points at which coincident names may be fused to form a single link.

Foundations

A bigraph is a 5-tuple:

<math>(V,E,ctrl,prnt,link) : \langle k,X \rangle \to \langle m,Y \rangle,</math>

where <math>V</math> is a set of nodes, <math>E</math> is a set of edges, <math>ctrl</math> is the control map that assigns controls to nodes, <math>prnt</math> is the parent map that defines the nesting of nodes, and <math>link</math> is the link map that defines the link structure.

The notation <math>\langle k,X \rangle \to \langle m,Y \rangle</math> indicates that the bigraph has <math>k</math> holes (sites) and a set of inner names <math>X</math> and <math>m</math> regions, with a set of outer names <math>Y</math>. These are respectively known as the inner and outer interfaces of the bigraph.

Formally speaking, each bigraph is an arrow in a symmetric partial monoidal category (usually abbreviated spm-category) in which the objects are these interfaces.[5] As a result, the composition of bigraphs is definable in terms of the composition of arrows in the category.

Extensions and variants

Файл:1912.01107.fig4.png
A directed bigraph modelling a container system.[6]

Directed Bigraphs

Directed Bigraphs[7] are a generalisation of bigraphs where hyper-edges of the link-graph are directed. Ports and names of the interfaces are extended with a polarity (positive or negative) with the requirement that the direction of hyper-edges goes from negative to positive.

Directed bigraphs were introduced as a meta-model for describing computation paradigms dealing with locations and resource communication where a directed link-graph provides a natural description of resource dependencies or information flow. Examples of areas of applications are security protocols,[8] resource access management,[9] and cloud computing.[6]

Bigraphs with sharing

Example bigraph with sharing
Example bigraph with sharing in which the node of control M is shared by the two nodes of control S. This is represented by M being in the intersection of the two S-nodes.

Bigraphs with sharing[10] are a generalisation of Milner's formalisation that allows for a straightforward representation of overlapping or intersecting spatial locations. In bigraphs with sharing, the place graph is defined as a directed acyclic graph (DAG), i.e. <math>prnt</math> is a binary relation instead of a map. The definition of link graph is unaffected by the introduction of sharing. Note that standard bigraphs are a sub-class of bigraphs with sharing.

Areas of application of bigraphs with sharing include wireless networking protocols,[11] real-time management of domestic wireless networks[12] and mixed reality systems.[13]

Tools and Implementations

  • BigraphER is a modelling and reasoning environment for bigraphs consisting of an OCaml library and a command-line tool providing an efficient implementation of rewriting, simulation, and visualisation for both bigraphs and bigraphs with sharing.[14]
  • jLibBig is a Java library providing efficient and extensible implementation of Шаблон:Notatypo reactive systems for both bigraphs and directed bigraphs.[15][16]

No longer actively developed:

  • BigMC is model checker for bigraphs which includes a command line interface and visualisation.[17]
  • Big Red is a graphical editor for bigraphs with easily extensible support for various file formats.[18]
  • SBAM is a stochastic simulator for bigraphs, aimed at simulation of biological models.[19]
  • DBAM is a distributed simulator for Шаблон:Notatypo reactive systems.[20]
  • DBtk is a toolkit for directed bigraphs that provides calculation of IPOs, matching, and visualisation.[21]


See also

Bibliography

References

Шаблон:Reflist

External links