This page was automatically generated by NetLogo 4.1.3.

The applet requires Java 5 or higher. Java must be enabled in your browser settings. Mac users must have Mac OS X 10.4 or higher. Windows and Linux users may obtain the latest Java from Sun's Java site.


In order for this to work, this file, your model file (BCA-final.nlogo), and the file NetLogoLite.jar must all be in the same directory. (You can copy NetLogoLite.jar from the directory where you installed NetLogo.)

On some systems, you can test the applet locally on your computer before uploading it to a web server. It doesn't work on all systems, though, so if it doesn't work from your hard drive, please try uploading it to a web server.

You don't need to include everything in this file in your page. If you want, you can just take the HTML code beginning with <applet> and ending with </applet>, and paste it into any HTML file you want. It's even OK to put multiple <applet> tags on a single page.

If NetLogoLite.jar and your model are in different directories, you must modify the archive= and value= lines in the HTML code to point to their actual locations. (For example, if you have multiple applets in different directories on the same web server, you may want to put a single copy of NetLogoLite.jar in one central place and change the archive= lines of all the HTML files to point to that one central copy. This will save disk space for you and download time for your users.)

powered by NetLogo

DESCRIPTION OF THE MODEL (BCA)

This multi-agent model implements the immunity-based algorithm BCA (B-Cell Algorithm) that is inspired by the clonal selection principle. This algorithm is used for the generation of coalition structures and selection the best one during the predefined maximum number of generations. Every coalition will then be used for the elimination of specific oil spill. The model is used for the elimination of max. three types of oil spills.


MANIPULATION WITH THE MODEL (BCA)

1. Setup the slider: nrCleaners (= number of autonomous agents that will eliminate oil spills)

2. Setup types of oil spills that will be eliminated by autonomous agents of the type Cleaners
- lightOilSpill: not so serious oil spill (low level of density)
- mediumOilSpill: middle level of seriousness and density
- heavyOilSpill: very dangerous type of oil spill (high level of density)

3. Setup size of repertoire (= population), i. e. number of coalition structures (antibodies)

4. Setup number of generations for running the model (how many steps the model will run)

5. Setup mutation rate for one randomly selected clone (metadynamics)

6. Click on the button SETUP after setting the above mentioned parameters of the model

7. Possibility 1: If you click on the button STEP (Control elements), the model will stop after each generation.
Possibility 2: If you click on the button GO, the model will go until the maximum steps (generations) is reached.

See the main output area that offers results.

Shape of the coalition structure of each generation is depicted in the monitor "Solution of x-th generation". Quality of the coalition structure of each generation is depicted in the monitor "Quality of solution of x-th generatio".

Final solution (shape of the coalition structure) is depicted in the monitor "finalMaxCStructure". Quality of the final solution is depicted in the monitor "finalMaxSolution".

Quality of coalition structure of each generation is visualized with the aid of two graphs (Changes in restrictions and Changes in sources).

<Next monitors and buttons>:
"Requirements for subtasks": You can see requirements for elimination actual types of oil spills.

"Label for CS": This monitor represents identity of coalition

Button "Change position of agent(s)": This button can be used for changing the position of agents Cleaners that are visible in the "World of NetLogo" - "Visualization of result in x-th generation". Click on the button, drag and drop the selected agent Cleaner.
Button can be used only if the parameters of the model are set up and STEP or GO button is activated.


AUTHOR OF THE MODEL

Martina Husáková
University of Hradec Králové
Faculty of Informatics and Management
Department of Information Technologies
Hradec Králové, Czech Republic
email: martina.husakova.2@uhk.cz