next up previous
Next: The CaseLP Visualizer: a Up: Specification and Simulation Previous: Implementing a working prototype

Prototype execution

 

After all the agents have been implemented as Prolag pieces of code, they can be compiled into the target language and then loaded into the memory, to make their code available for running the simulation. The compile_agent primitive has been implemented to take more than one file as its input: this furthers the reuse of the same Prolag file for agents which differ only in small portions of their state or behavior. The output of this primitive is a file containing a SICStus Prolog or an ECLiPSe module.
Once all modules have been generated, the system developer must choose if he/she wants to load the agents, initialize their mail-boxes, start the simulation and follow its execution by means of a graphical interface, or issuing commands within the SICStus Prolog or ECLiPSe shell.




Floriano Zini
Wed Oct 20 15:24:59 GMT+0200 1999