User Tools

Site Tools


sajas

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
sajas [2020/12/02 14:08]
hlc [MASSim2Dev]
sajas [2020/12/02 14:15]
hlc [MASSim2Dev]
Line 47: Line 47:
 The [[MASSim2Dev|MASSim2Dev]] tool performs the needed changes automatically. The [[MASSim2Dev|MASSim2Dev]] tool performs the needed changes automatically.
  
-An additional change to take into account is that although the import of the jade.core.AID class should not, in general, be redirected to sajas.core.AID, any direct instantiation of the AID class should be made in the sajas' version of this class (which extends JADE's one).+An additional change to take into account is that although the import of the ''jade.core.AID'' class should not, in general, be redirected to ''sajas.core.AID'', any direct instantiation of ''AID'' should be made in the SAJaS' version of this class (which extends JADE's one). Example: 
 + 
 +<code> 
 +import sajas.core.Agent; 
 +import jade.core.AID; 
 + 
 +... 
 + 
 +ACLMessage m = new ACLMessage(ACLMessage.Request); 
 +m.addReceiver(new sajas.core.AID(name, false); 
 +... 
 + 
 +</code>
  
  
sajas.txt · Last modified: 2020/12/02 14:16 by hlc