Back

upprevious
Up:implementationPrevious:Migration of ambients on


Example of Execution

We have following expression as an example: 
//test.amb
machine koon(0,0,0,0), est(1,1,1,1) ;
koon[ a[ out koon.in est.in c ] | b[] ] | est[ c[] ] ;
The first line expresses that machine ambients koon and est are available.

We start up machine ambients as follows:

\includegraphics[width=10cm,keepaspectratio,clip]{run_koon.eps}
Fig 4: Start up the Machine Ambient koon
\includegraphics[width=15cm,keepaspectratio,clip]{before_koon.eps}
Fig 5: Machine Ambient koon started
\includegraphics[width=10cm,keepaspectratio,clip]{run_est2.eps}
Fig 6: start up the Machine Ambient est
\includegraphics[width=15cm,keepaspectratio,clip]{before_est.eps}
Fig 7: Machine Ambient est started
We can monitor the first status of every machine ambients:
\includegraphics[width=15cm,keepaspectratio,clip]{before_main.eps}
Fig 8: Main GUI
Then, we can monitor the result of the migration:
\includegraphics[width=15cm,keepaspectratio,clip]{after_koon.eps}
Fig 9: Status of Ambient koon after the reduction
\includegraphics[width=15cm,keepaspectratio,clip]{after_est.eps}
Fig 10: Status of Ambient est after the reduction

upprevious
Up:implementationPrevious:Migration of ambients on

 Back