User Tools

Site Tools


uf:totam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
uf:totam [2010/10/20 17:54] elisaguf:totam [2012/04/16 21:21] jorge
Line 75: Line 75:
     def decideStore(ts) {true};     def decideStore(ts) {true};
     //sender-side protocol     //sender-side protocol
-    def inScope(descriptor){ true };+    def inScope(senderDescriptor,receiverDescriptor){ true };
     def decideDie(ts){false};     def decideDie(ts){false};
   };   };
Line 86: Line 86:
 //define a new propagation protocol //define a new propagation protocol
 def blueProtocol := propagationProtocol: { def blueProtocol := propagationProtocol: {
-  def inScope(descriptor) { descriptor.team == "blue" };+  def inScope(senderDescriptor,receiverDescriptor) {  
 +    receiverDescriptor.team == "blue" };
 }; };
 // attach the protocol to a tuple // attach the protocol to a tuple
 def aBlueTuple := tuple: [Message, "hallo" def aBlueTuple := tuple: [Message, "hallo"
-withPropagationProtocol: blueProtocol};+withPropagationProtocol: blueProtocol;
 // inject the tuple to the network // inject the tuple to the network
 def publication := inject: aBlueTuple; def publication := inject: aBlueTuple;
Line 115: Line 116:
 **TOTAM: Scoped Tuples for the Ambient**, C. Scholliers, E. Gonzalez Boix, W. De Meuter. Proceedings of the Second International DisCoTec Workshop on Context-aware Adaptation Mechanisms for Pervasive and Ubiquitous Services (CAMPUS 2009), from Electronic Communications of the EASST, eds. 2009.  **TOTAM: Scoped Tuples for the Ambient**, C. Scholliers, E. Gonzalez Boix, W. De Meuter. Proceedings of the Second International DisCoTec Workshop on Context-aware Adaptation Mechanisms for Pervasive and Ubiquitous Services (CAMPUS 2009), from Electronic Communications of the EASST, eds. 2009. 
 ([[ http://prog.vub.ac.be/Publications/2009/vub-prog-tr-09-07.pdf | pdf]]) ([[ http://prog.vub.ac.be/Publications/2009/vub-prog-tr-09-07.pdf | pdf]])
 +
 +Note: The paper above and this webpage may have differ in the syntax for TOTAM. This webpage has been updated to fit the current implementation of TOTAM.
uf/totam.txt · Last modified: 2021/09/24 10:49 by elisag