Bigraph Explained

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. 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. 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:

(V,E,ctrl,prnt,link):\langlek,X\rangle\to\langlem,Y\rangle,

where

V

is a set of nodes,

E

is a set of edges,

ctrl

is the control map that assigns controls to nodes,

prnt

is the parent map that defines the nesting of nodes, and

link

is the link map that defines the link structure.

The notation

\langlek,X\rangle\to\langlem,Y\rangle

indicates that the bigraph has

k

holes (sites) and a set of inner names

X

and

m

regions, with a set of outer names

Y

. 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

Directed Bigraphs

Directed Bigraphs[6] 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, resource access management,[7] and cloud computing.

Bigraphs with sharing

Bigraphs with sharing[8] 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.

prnt

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,[9] real-time management of domestic wireless networks[10] and mixed reality systems.[11]

Tools and Implementations

No longer actively developed:

See also

Bibliography

External links

Notes and References

  1. A Brief Introduction To Bigraphs, IT University of Copenhagen, Denmark.
  2. Milner, Robin. The Model, University of Cambridge Computer Laboratory, UK.
  3. Robin. Milner. Bigraphs and Their Algebra. Electronic Notes in Theoretical Computer Science. 209. 5–19. 2008. 10.1016/j.entcs.2008.04.002.
  4. Book: Miculan. Marino. Bigraphs reloaded: a presheaf presentation. Peressotti. Marco. 2013.
  5. Robin. Milner. Categories. Lecture Notes in Computer Science. 5710. 30–36. 2009. CONCUR 2009 - Concurrency Theory. Springer-Verlag. 10.1007/978-3-642-04081-8_3.
  6. Grohmann. Davide. Miculan. Marino. 2007. Directed Bigraphs. Electronic Notes in Theoretical Computer Science. en. 173. 121–137. 10.1016/j.entcs.2007.02.031. 15353215 . free.
  7. Grohmann. Davide. Miculan. Marino. 2008-07-13. Controlling resource access in Directed Bigraphs. Electronic Communications of the EASST. en. Volume 10: Graph Transformation and Visual Modeling Techniques 2008. 10.14279/TUJ.ECEASST.10.142.
  8. Michele. Sevegnani. Muffy. Calder. Bigraphs with sharing. Theoretical Computer Science. 577. 43–73. 2015. 10.1016/j.tcs.2015.02.011. free.
  9. Muffy. Calder. Michele. Sevegnani. Modelling IEEE 802.11 CSMA/CA RTS/CTS with stochastic bigraphs with sharing. Formal Aspects of Computing. 26. 3. 537–561. 2014. 10.1007/s00165-012-0270-3. free.
  10. Muffy. Calder. Alexandros. Koliousis. Michele. Sevegnani. Joseph. Sventek. Real-time verification of wireless home networks using bigraphs with sharing. Science of Computer Programming. 80. 288–310. 2014. 10.1016/j.scico.2013.08.004. free.
  11. Benford. Steve. Calder. Muffy. Rodden. Tom. Sevegnani. Michele. 2016-05-01. On Lions, Impala, and Bigraphs: Modelling Interactions in Physical/Virtual Spaces. ACM Trans. Comput.-Hum. Interact.. 23. 2. 9:1–9:56. 10.1145/2882784. 16364443 . 1073-0516.
  12. Book: Sevegnani . Michele . Computer Aided Verification . Calder . Muffy . 2016-07-17 . Springer International Publishing . 9783319415390 . Chaudhuri . Swarat . Lecture Notes in Computer Science . 494–501 . en . 10.1007/978-3-319-41540-6_27 . Farzan . Azadeh.
  13. Chiapperini. Alessio. Miculan. Marino. Peressotti. Marco. 2020. Gadducci. Fabio. Kehrer. Timo. Computing Embeddings of Directed Bigraphs. Graph Transformation. Lecture Notes in Computer Science. 12150 . en. Cham. Springer International Publishing. 38–56. 10.1007/978-3-030-51372-6_3. 978-3-030-51372-6. 7314702.
  14. Chiapperini . Alessio . Miculan . Marino . Peressotti . Marco . 2022-09-01 . Computing (optimal) embeddings of directed bigraphs . Science of Computer Programming . en . 221 . 102842 . 10.1016/j.scico.2022.102842 . 251078299 . 0167-6423. free . 11390/1230764 . free .
  15. Book: Perrone. Gian. Debois. Søren. Hildebrandt. Thomas T.. Proceedings of the 27th Annual ACM Symposium on Applied Computing . A model checker for Bigraphs . 2012. http://dl.acm.org/citation.cfm?doid=2245276.2231985. en. Trento, Italy. ACM Press. 1320–1325. 10.1145/2245276.2231985. 978-1-4503-0857-1. 15575008 .
  16. Faithfull. Alexander John. Perrone. Gian. Hildebrandt. Thomas T.. 2013-06-25. Big Red: A Development Environment for Bigraphs. Electronic Communications of the EASST. en. Volume 61: Graph Computation Models 2012. 10.14279/TUJ.ECEASST.61.835.
  17. Krivine. Jean. Milner. Robin. Troina. Angelo. 2008-10-22. Stochastic Bigraphs. Electronic Notes in Theoretical Computer Science. Proceedings of the 24th Conference on the Mathematical Foundations of Programming Semantics (MFPS XXIV). en. 218. 73–96. 10.1016/j.entcs.2008.10.006. 35819217 . 1571-0661. free. 20.500.11820/fa14f93c-411e-4fa1-93ee-c0be92033b78. free.
  18. Mansutti. Alessio. Miculan. Marino. Peressotti. Marco. 2015-09-06. Distributed execution of reactive systems. Electronic Communications of the EASST. en. Volume 71: Graph Computation Models 2014. 10.14279/TUJ.ECEASST.71.994. 243909 .