PLASMA Lab book

Controler

The Controler project -fr.inria.plasmalab.controler- expose the PLASMA Lab API. This layer is used to launch and control the execution of a PLASMA Lab experimentation. The PLASMA Lab API is effectively used by the PLASMA Lab GUI.

Initialization

The Controler class is a singleton class created by calling the createControler function. Path to the configuration file and java arguments are passed to the initialization function.

According to the configuration file, the Controler will configure the log4j module and load required PLASMA Lab plugins.

PluginLoader

Loading PLASMA Lab plugins is done by the PluginLoader class. As SMC Algorithms were designed to be plugin, the PluginLoader also load them. Though in a static way.

Experimentation Manager

The ExperimentationManager class launch and monitor a SMC Algorithm execution. The experimentation manager can be accessed trough the Controler.

A new experimentation is initialized by calling the setupAnExperiment method. The experimentation is monitored through the ExperimentationListner implementation. However the manager only transfers notifications to registered listener. The process calling the Controler API must give a reference to an object implementing the ExperimentationListener interface.

Simulation Manager

The SimulationManager follows the same purpose as the ExperimentationManager but for the simulation mode. As it is only passing call to simulation functions of the selected model its use may be avoidable.