<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Towards Formal Modeling and Verification of Context-Aware Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Taha Abdelmoutaleb Cherfia</string-name>
          <email>taha.cherfia@univ-constantine2.dz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Faïza Belala</string-name>
          <email>faiza.belala@univ-constanine2.dz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kamel Barkaoui</string-name>
          <email>kamel.barkaoui@cnam.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Formal Verification. Context-Aware Systems. Bigraphical Reactive Systems. Bigraphical Model Checker.</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LIRE Laboratory, Software Technologies and Information, Systems Department</institution>
          ,
          <addr-line>Constantine 2</addr-line>
          ,
          <institution>University</institution>
          ,
          <country country="DZ">Algeria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Laboratoire CEDRIC, Conservatoire Nationale des Arts et</institution>
          ,
          <addr-line>Métiers, CNAM, Paris Cedex 03</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>1999</year>
      </pub-date>
      <fpage>27</fpage>
      <lpage>29</lpage>
      <abstract>
        <p>Context-aware systems are an emerging class of mobile computing systems aiming to provide ubiquitous access to information, communication and computation. These systems are able to sense and adapt their behavior automatically to the current environmental context. In this paper, we present a formal approach based on bigraphical reactive systems for specifying and verifying the main features of context-aware systems. The proposed formalism provides a clear separation between the part of the system which is affected by the context and the remaining part. In order to illustrate its potential, we apply our approach through a motivating case study of a smart home system, and by using the Bigraphical Model Checker (BigMC) for verification purposes.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>
        Recently, context-aware systems are becoming
one of the most promising fields in the wide range of
ubiquitous computing
        <xref ref-type="bibr" rid="ref13">(Weiser, 2002)</xref>
        . These systems
are able to dynamically adapt their behavior in
response to changes on context information without
an explicit user intervention.
      </p>
      <p>In the literature, there are many definitions of the
term “context”, but until now there is no universal one.
In (Abowd et al., 2000), a generic definition has been
proposed in which context is referred as “any
information that can be used to characterize the
situation of an entity. An entity is a person, place or
object that is considered relevant to the interaction
between a user and an application, including location,
time, activities and the preferences of each entity”.</p>
      <p>
        Nevertheless, the lack of a solid formal foundation
in the most existing definitions, combined with the
increasing complexity and diversity of context-aware
systems, represent a clear challenge to model and
verify such systems. Therefore, the formal modeling
represents a crucial and delicate step to reduce
complexity and enhance the verification of
contextaware systems. As a result, many formal approaches
have been introduced to deal with this issue; Pascal
Zimmer
        <xref ref-type="bibr" rid="ref16">(Zimmer, 2005)</xref>
        introduced a new process
calculus, called Context-Aware Calculus (CAC in
short), to formally describe the context-aware
systems. Likewise, authors in
        <xref ref-type="bibr" rid="ref11 ref8">(Siewe, Cau and Zedan,
2009)</xref>
        proposed a logical language CCA (Calculus of
Context-aware Ambients) for the modeling and
verification of context-aware systems.
      </p>
      <p>
        Furthermore, according to
        <xref ref-type="bibr" rid="ref1">(Birkedal, Debois and
Hildebrandt, 2006)</xref>
        , one of the principal aims for the
theory of Bigraphical Reactive Systems (BRS in short)
is to model ubiquitous systems, capturing mobile
locality in the place graph and mobile connectivity in
the link graph.
      </p>
      <p>
        Among the recent BRS-based studies in the
domain of context-aware systems, we can highlight
the following: Plato-graphical models
        <xref ref-type="bibr" rid="ref1">(Birkedal,
Debois and Hildebrandt, 2006)</xref>
        , context and actions
        <xref ref-type="bibr" rid="ref12 ref15">(Xu, Xu and Lei, 2011)</xref>
        , context and capabilities
        <xref ref-type="bibr" rid="ref12 ref15">(Wang, Xu and Lei, 2011)</xref>
        and BiAgents
        <xref ref-type="bibr" rid="ref9">(Pereira,
Kirsch and Sengupta, 2012)</xref>
        . Nonetheless, only the
graphical representation of bigraphical reactive
systems has been used to model context-aware
systems and their evolution. There has been no
information or formal definition of the relationship
between the context changes and the system
reactions. Furthermore, no formal verification has
been performed within these approaches to
investigate the correctness of the context-aware
models.
      </p>
      <p>
        Our proposed approach
        <xref ref-type="bibr" rid="ref2 ref3">(Cherfia and Belala,
2014)</xref>
        is quite similar to the previous ones since it is
based on BRS, but where the context-aware and
context-unaware parts of the system, are clearly
separated. Each one has its own reaction rules and by
using the composition operation defined natively in
BRS, we can describe, first the whole context-aware
system and then, capture the relationship between the
context changes and the system behavior.
      </p>
      <p>
        Moreover, to illustrate the interest of our
approach, we apply it, in this paper, to a simple smart
home system focusing on the function of the lightning
control service. Besides, in order to assess the
feasibility and effectiveness of our proposed
approach, we use the Bigraphical Model Checker
(BigMC)
        <xref ref-type="bibr" rid="ref10">(Perrone, Debois and Hildebrandt, 2013)</xref>
        to
determine whether the composition operation satisfies
the reachability property.
      </p>
      <p>The rest of this paper is organized as follows.
Section 2 presents a motivating case study of a
context-aware home system. Section 3 gives an
overview of bigraphical reactive systems. Section 4
briefly introduces our BRS-based approach for
modeling the different aspects of context-aware
systems. Section 5 describes how we use the BigMC
to implement the smart home case study in order to
validate the correctness of our proposed approach.
Finally, conclusion and future work are given in
Section 6.</p>
    </sec>
    <sec id="sec-2">
      <title>MOTIVATING EXAMPLE</title>
      <p>Along with the rapid proliferation of high
technologies, particularly in the fields of electronic,
communication and control, homes and the way we
live in them have changed dramatically in the last
decade. Today, the smart home research becomes
one of the major sub-domains of ubiquitous
computing. Many research institutes and well-known
enterprises such as Apple, Microsoft, Cisco, Xerox,
MIT, Siemens and IBM, are developing smart housing
products and services in order to improve the comfort,
convenience and security of inhabitants.</p>
      <p>
        According to the definition given by the UK
Department of Trade and Industry (DTI), a smart home
is “A dwelling incorporating a communications network
that connects the key electrical appliances and
services, and allows them to be remotely controlled,
monitored or accessed”
        <xref ref-type="bibr" rid="ref6">(King, 2003)</xref>
        .
Remotelycontrolled means that the appliances and services
may be controlled within or outside the dwelling.
      </p>
      <p>
        Technically, a smart home incorporates three
main elements: internal network, intelligent control
and home automation
        <xref ref-type="bibr" rid="ref4">(Jiang, Liu and Yang, 2004)</xref>
        ; to
provide the inhabitant with a full control over the smart
home system. In a bit more details, with a single press
on a touchpad, a smart homeowner can control
lighting, climate, multimedia, window and door
operations, security and surveillance, as well as many
other functions.
      </p>
      <p>One of the most well-known smart home services
is the lightning control system which is a standalone
system serving to deliver the right amount of light only
where and when it is needed. For example, setting
outdoor lights to go on at sunset and off at daybreak.</p>
    </sec>
    <sec id="sec-3">
      <title>3. BIGRAPHS OVERVIEW</title>
      <p>
        According to
        <xref ref-type="bibr" rid="ref8">Milner (2009)</xref>
        , a bigraphical reactive
system is a bigraph representing the current topology
of the system and a set of reaction rules that allow
describing its behavior by capturing the context
changes.
      </p>
      <p>Structurally, a bigraph is a graphical model
emphasizing both locality and connectivity of
ubiquitous systems. The figure below depicts the
anatomy of bigraphs.</p>
      <p>The dashed line rectangles with rounded corners
represent roots (also known as regions) that are used
to distinguish significantly different spaces in which
nodes can be nested. Nodes can be nested inside one
another. Nodes and edges are denoted by   and  
respectively. The small bold points linking nodes to
edges are called ports. Each node is characterized by
a control, represented by an upper-case letter. The
shaded rectangles represent sites, which allow nodes
to host any content inside. The outer names and inner
names represent end points where connections with
the outside world can be established.</p>
      <p>Moreover, a bigraph consists of two independent
sub-graphs (as shown in Figure 2), a place graph
(topograph) expressing usually the physical location
of nodes and a link graph (monograph) representing
the mobile connectivity among them.</p>
      <p>Formally, a bigraph  over a signature  takes the
form
 = (, , ,</p>
      <p>P,  L) ∶  → 
To illustrate the bigraph
notations, Figure 1
represents a bigraph : 〈2, { 0,  1}〉 → 〈2, { 0,  1,  2}〉
where the sets of nodes and edges are given by  =
{ 0,  1,  2}
{: 2, : 4}
and
 = {
0,  1}
respectively.</p>
      <p>=
represents the signature of the bigraph  .</p>
      <p>The interface  = 〈2, { 0,  1}〉 is the inner face of  in
which 2 is a finite ordinal representing the number of
sites and  = {
Similarly, the</p>
      <p>0,  1} is the set of inner names.
outer face
of 
is given
by  =
〈2, { 0,  1,  2}〉 where
regions and  = {
Finally,   : 2 → 2 is the
  : { 0,  1} → { 0,  1,  2} is its link graph.</p>
      <p>2 represents the</p>
      <p>number of
0,  1,  2} is the set of outer names.</p>
      <p>
        Bigraphs
can
be
also
expressed in terms
language
        <xref ref-type="bibr" rid="ref7">(Milner, 2008)</xref>
        the primary operations and
elements used by the present paper are summarized
in Table 1.
For example, the following is the corresponding
algebraic expression of the bigraph given in Figure 1
0  0. (1  0, 0| 0) ∥ 2  1, 2, 0, 1.  1
For more details about the theory of bigraphical
reactive systems the reader is referred to (Milner,
2014) consists in providing a bigraphical reactive
systems
based
approach to formally
model the
different aspects of context-aware systems. Firstly, we
have enriched the bigraph definition to represent the
structure of the context-aware system by modeling
separately
both
the
context-aware
and
contextunaware parts of the system. To do so, we use two
distinct bigraphs (
and  ). :  → 
is a bigraph
modeling the context-unaware part of the system and
:  → 
is another bigraph
modeling the
contextaware part. Then, we combine them together using the
composition operation ( ∘ 
system given by   :  →  .
      </p>
      <p>) to represent the entire</p>
      <p>Moreover, each part of the system (i.e.
contextaware
and
context-unaware
parts)
has its
own
reaction rules, namely context reaction rules and
internal reaction rules, respectively. However, these
reaction rules are performed independently of each
other. That is, a context-aware reaction rule is a
sequence of reaction rules occurred in each part of the
context-aware system to shift it from one state to</p>
      <p>To illustrate the effectiveness of our approach to
model the different aspects of context-aware systems,
in the following, we apply it through a simple lightning
control system.
 ° 
 | 
 ∥ 
 . 
 ⊗ 
 →( )

1
 
 /</p>
      <p>Composition of nodes
Merge product (Juxtaposition of nodes)
Parallel product (Juxtaposition of roots)
Nesting.  contains 
Tensor product
Node with control  of arity  ⃗
The barren (empty) root
Site numbered 
Connection from inner name y to outer name 
are connected to the central control unit. The site 1
predicted to introduce other context information; such
as interior lights, motion sensors, security cameras
and so on. Finally, the open link x is used to capture
context information.</p>
      <p>The algebraic expression of the lightning control
system running in DAY MODE is as follows:
⁄ ℎ.</p>
      <p>(. 
)|
 . (.</p>
      <p>)| 1</p>
    </sec>
    <sec id="sec-4">
      <title>4.1. Context-Unaware Bigraph</title>
      <p>As mentioned previously, at sunset, the lightning
control system
switches
automatically to</p>
      <sec id="sec-4-1">
        <title>MODE.</title>
      </sec>
      <sec id="sec-4-2">
        <title>Consequently, the occurred NIGHT</title>
        <p>reaction
represents a context reaction rule. The figure below
models the bigraph host :  → 
of the new context
bigraph.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4.2. Context-Aware Bigraph</title>
      <p>We denote the captured sunset information and
light-on event by NIGHT and ON respectively. These
nodes are
called</p>
      <p>context-nodes, resulting of the
context transition introduced in
our
case
study.</p>
      <p>Formally, the aforementioned nodes are the result of
a sequence of context reaction rules (see Table 2)
triggered by the captured sunset information.</p>
      <p>The figure below depicts a portion of the context
bigraph :  →</p>
      <p>resulting after the occurrence of the
previous reaction rules sequence.</p>
    </sec>
    <sec id="sec-6">
      <title>4.3. Modeling Context-Aware System</title>
      <p>The idea behind the separation of the
contextaware aspects (Figure 5) of the system from the other
aspects (Figure 4) is not only to cope with the complex
nature of context-aware systems, but also to make
predictive modeling, simple and efficient, by providing
a
generic
way
for
capturing,
structuring
and
representing the system-context relationships.</p>
      <p>That is, the bigraphical model of the lightning
control system running in NIGHT</p>
      <sec id="sec-6-1">
        <title>MODE</title>
        <p>(see
host and context bigraph presented in Figure 4 and
of  ; it proceeds by plugging each region of  into its
matching site of  , and merging the outer names of 
with the inner names of  .</p>
        <p>To clarify a bit more,  = 〈, 〉
is the inner face of
the bigraph  in which  represents the number of sites
where each region  of  containing context-nodes can
be planted into the  ℎ</p>
        <p>site of  .  is the set of inner
names where each inner name is linked to its related
outer name of  to form a context-edge.
)|
 . (.</p>
        <p>. (.
 . (. 

)| 1
)| 1
)| 1</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>5. MODEL-CHECKING ANALYSIS</title>
      <p>
        Formal methods are one of the
highlyrecommended techniques in software design of
complex systems in both academia and industry. They
offer a powerful potential to achieve an early
integration of verification in the design process, to
provide more effective verification techniques and to
reduce the verification time
        <xref ref-type="bibr" rid="ref7">(Baier and Katoen, 2008)</xref>
        .
      </p>
      <p>Recently, research in formal methods has led to
the appearance of some very promising verification
techniques accompanied by powerful software tools
that automate various verification steps, in order to
facilitate the early detection of defects. Model
checking is one of the most successful strategies for
analyzing the correctness of safety-critical systems. It
is a formal technique for automatically verifying
whether a finite-state system satisfies a given logical
property.</p>
      <p>In the following, we introduce the Bigraphical
model checker BigMC and its grammar, then, we
describe how to use it in order to implement and
perform some verifications on the lightning control
system model.</p>
    </sec>
    <sec id="sec-8">
      <title>5.1. BigMC: Bigraphical Model Checker</title>
      <p>
        BigMC (Bigraphical Model Checker) is a model
checker specifically designed to operate on any model
encoded as a bigraphical reactive systems
        <xref ref-type="bibr" rid="ref10">(Perrone,
Debois and Hildebrandt, 2013)</xref>
        . It permits the
execution of bigraphical reactive systems and
checking whether some specification or properties of
a particular bigraphical model are true. One of the
main benefits of BigMC is its ability to provide a
mechanism of state reachability analysis based on
properties expressed in terms of matching. In other
words, it can find all possible configurations of a
particular model, check the specification against them
and provide a counter-example in the event that a
configuration violates the specification.
      </p>
      <p>The full BigMC grammar is given in the following table.
 ∷=  ;  | 
 ∷= %  ∶ 
 ∷= %  ∶ 
 ∷= %   → 
 ∷= %  
 ∷=  →  | 
 ∷=  .  |  |  |  ||  | $ |  | 
 ∷=  [ ] | 
 : : =  ,  | 
 ∷= [ –  –  ][ –  –  0 – 9] ∗ | −
 ∷=  ℎ ( ) |  () | !</p>
      <p>BigMC grammar is relatively simple since it is
based on a term language. In the table above, 
refers to a bigraphical model that may be composed
from other models or/and expressions  . An
expression  can be a control () , reaction rules ( →
) , or a property () . A control  must be pre-defined
by the declaration of the bigraph signature %
and % commands, which define the arity
(number of ports) of a given control as well as whether
it is active or passive. Any term of the form  →  is
considered to be a reaction rule, where the first term
 represents the redex, while the second represents
the reactum. Finally, the property  is expressed as a
logical formula and it is checked whether a given
bigraphical model satisfies or violates this formula.</p>
    </sec>
    <sec id="sec-9">
      <title>5.2. Reachability Checking</title>
      <p>In order to verify the feasibility of our approach,
we use the BigMC model checker to encode the
lightning control system.</p>
      <p>The table below represents the bigraphical
specification of the context-unaware part in BigMC
terms language.</p>
      <p>The bigraphical specification of the context-aware
part represented in Figure 5 is as follows:
#Reaction Rules
CCUnit[e1,x].(mode.$2) -&gt; CCUnit[e1,x].(mode.NIGHT);
OLight[e1].(mode.$3) -&gt; OLight[e1].(mode.ON);</p>
      <p>Once the lightning control system model and the
set of reaction rules are defined, the next step consists
to specify some properties that must be checked.
Here, we focus on proving that the final state
corresponding to the bigraph reconfiguration
displayed in Figure 6 is eventually reachable by the
application of the above reaction rules.</p>
      <p>
        BigMC implements explicit-state checking of
properties expressed as matching. Each property is
expressed as combinations of two predefined
predicates: matches () and terminal (). The
matches() predicate describes some redex that must
be found (or assert that not be found) in every possible
agent of a given system as it behaves. The terminal ()
predicate is true if an only if there are no possible
further states reachable by a step of reaction from the
current one. Furthermore, predicates can be
combined together with the common boolean
operators and, or and not (i.e. &amp;&amp;, || and !) to form
more complex expressions
        <xref ref-type="bibr" rid="ref10">(Perrone, Debois and
Hildebrandt, 2013)</xref>
        .
      </p>
      <p>Now, let final_state be a reachability property
defined as the negation of the buit-in predicate
terminal (). We note that the final state is a terminal
state which does not lead to any further states and
there are no reaction rules that can be applied to it.</p>
      <p>The specification of the final_state property in
BigMC is as follows:</p>
      <p>The following are the default command-line
options for BigMC:



-m 1000: maximum number of steps.
-r 50: reporting frequency.</p>
      <p>-p: a command to print new states.</p>
      <p>Running BigMC with these options, we prove that
the intended state is successfully reached as shown in
step 4 of Table 8.
&gt; C:\Progra~1\BigMC/bin/bigmc -m 1000 -r 50 -p
1: (OLight[e1].mode.OFF.nil|CCUnit[e1,x].mode.DAY.nil)
2: (OLight[e1].mode.ON.nil|CCUnit[e1,x].mode.DAY.nil)
3: (OLight[e1].mode.OFF.nil|CCUnit[e1,x].mode.NIGHT.nil)
4: (CCUnit[e1,x].mode.NIGHT.nil|OLight[e1].mode.ON.nil)
[mc::step] Complete!</p>
    </sec>
    <sec id="sec-10">
      <title>6. CONCLUSION</title>
      <p>In this paper, we have presented a formal
approach based on bigraphical reactive systems to
specify and verify context-aware systems. Firstly, we
have shown, through a case study of a smart home
system, the potential of our approach for a generic and
high level modeling of the different aspects of
contextaware systems. The proposed approach provides a
clear separation between the context-aware part of the
system and the remaining one; each part is modeled
by a distinct bigraph, and their composition yields a
new bigraph describing the whole structure of the
context-aware system.</p>
      <p>Besides, the behavior of context-aware systems
has been characterized by bigraphical reaction rules
with respect to both context changes and internal
system changes. Then, we have implemented the
case study using the BigMC model checker and
effectively proven the applicability of our approach.</p>
      <p>As a future extension, we intend to evaluate the
effectiveness of our approach by checking whether
some critical non-functional properties (i.e. security) of
a particular bigraphical model are true.</p>
      <p>
        Additionally, we are developing a tool
        <xref ref-type="bibr" rid="ref2 ref3">(Cherfia and
Belala. 2014)</xref>
        that supports the modeling and
execution of any context-aware system encoded as a
bigraphical reactive system, in order to apply our
approach on large-scale ubiquitous systems.
      </p>
    </sec>
    <sec id="sec-11">
      <title>7. REFERENCES</title>
      <p>Baier, C., Katoen, J. P. (2008) Principles of Model
Checking (Representation and Mind Series). The MIT
Press. Cambridge. England.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Birkedal</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debois</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hildebrandt</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          (
          <year>2006</year>
          )
          <article-title>Bigraphical Models of Context-Aware Systems</article-title>
          .
          <source>In: Foundations of Software Science and Computation Structures, LNCS 3921</source>
          . Vienna, Austria,
          <fpage>25</fpage>
          -
          <lpage>31</lpage>
          March 2006. Springer-Verlag.
          <fpage>187</fpage>
          -
          <lpage>201</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Cherfia</surname>
            ,
            <given-names>T. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belala</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>A BRS-Based Modeling Approach for Context-Aware Systems A Case Study of Smart Car System</article-title>
          . IEEE/IFIP International Conference on Embedded and
          <article-title>Ubiquitous Computing (EUC)</article-title>
          . In press.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Cherfia</surname>
            ,
            <given-names>T. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belala</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>BigCAS-Tool: A Bigraphical Environment for Modeling Context-Aware Systems</article-title>
          . Submitted to:
          <source>International Conference on Advanced Aspects of Software Engineering</source>
          , ICAASE'
          <fpage>14</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>B</given-names>
          </string-name>
          (
          <year>2004</year>
          )
          <article-title>Smart Home Research</article-title>
          .
          <source>In Proc. of the Third International Conference on Machine Learning and Cybernetics.</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          Vol.
          <volume>2</volume>
          ,
          <fpage>659</fpage>
          -
          <lpage>663</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>King</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          (
          <year>2003</year>
          )
          <string-name>
            <given-names>Smart</given-names>
            <surname>Home - A Definition</surname>
          </string-name>
          .
          <source>Intertek &amp; DTI. Housing LIN.</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Milner</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2008</year>
          )
          <article-title>Bigraphs and their algebra</article-title>
          .
          <source>In: Proceedings of the LIX Colloquium on Emerging Trends in Concurrency Theory. Electronic Notes in Theoretical Computer Science</source>
          .
          <volume>209</volume>
          .
          <fpage>5</fpage>
          -
          <lpage>19</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Milner</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2009</year>
          )
          <article-title>The Space and Motion of Communicating Agents</article-title>
          . Cambridge University Press.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Pereira</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kirsch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sengupta</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>BiAgents - A Bigraphical Agent Model for Structure-aware Computation. Cyber-Physical Cloud Computing Working Papers</article-title>
          , CPCC Berkeley.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Perrone</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debois</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hildebrandt</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          (
          <year>2013</year>
          )
          <article-title>A verification environment for bigraphs</article-title>
          ,
          <source>Journal of Innovation in Systems and Software Engineering</source>
          , Springer-Verlag,
          <volume>9</volume>
          (
          <issue>2</issue>
          ).
          <fpage>95</fpage>
          -
          <lpage>104</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Siewe</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cau</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zedan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2009</year>
          )
          <article-title>The Calculus of Context-aware Ambients</article-title>
          ,
          <source>Journal of Computer and System Sciences</source>
          .
          <volume>77</volume>
          (
          <issue>4</issue>
          ).
          <fpage>597</fpage>
          -
          <lpage>620</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lei</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Formalizing the Structure and Behaviour of Context-aware Systems in Bigraphs</article-title>
          .
          <source>In: First ACIS International Symposium on Software and Network Engineering</source>
          . Seoul, Korea,
          <fpage>19</fpage>
          -
          <lpage>20</lpage>
          December
          <year>2011</year>
          . IEEE.
          <volume>89</volume>
          -
          <fpage>94</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Weiser</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2002</year>
          )
          <article-title>The computer for the 21st Century</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <given-names>Pervasive</given-names>
            <surname>Computing</surname>
          </string-name>
          , IEEE,
          <volume>1</volume>
          (
          <issue>1</issue>
          ).
          <fpage>19</fpage>
          -
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>D.Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Lei
          <string-name>
            <surname>Z.</surname>
          </string-name>
          (
          <year>2011</year>
          )
          <article-title>Bigraphical Model of Context-aware in Ubiquitous Computing Environments</article-title>
          . In:
          <string-name>
            <surname>Asia-Pacific Services</surname>
          </string-name>
          Computing Conference. Jeju Island, Korea,
          <fpage>12</fpage>
          -
          <lpage>15</lpage>
          December
          <year>2011</year>
          . IEEE.
          <volume>389</volume>
          -
          <fpage>394</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Zimmer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2005</year>
          )
          <article-title>A Calculus for Context-awareness.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <source>BRICS Report Series RS-05-27</source>
          . Aarhus, Denmark.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>21 pages.</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>