edu.udo.cs.ie.cowbots.launcher
Class CowbotsLauncher

Package class diagram package CowbotsLauncher
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.launcher.CowbotsLauncher

public class CowbotsLauncher
extends java.lang.Object

wrapper class that starts a multi agent system using jason centralized environment.


Nested Class Summary
(package private)  class CowbotsLauncher.LaunchFrame
          startup frame shown by the cowbots launcher.
 
Field Summary
(package private)  RunCentralisedMAS runner
           
 
Constructor Summary
CowbotsLauncher()
           
 
Method Summary
 void launchMAS(java.lang.String[] args)
          this method starts a mas. if one startup argument is given, the argument is threated as the mas2j file to load a mas on localhost. if a second argument is given, it is always interpreted as the massim server address the agents should connect to. if no arguments are given, the launcher tries to show a gui for mas selection (otherwise, it exits the application). the gui is automatically hidden on machines not capable of displaying a gui, this way the launcher can be used to start a cowbot mas on machine without a graphical interface (like servers, etc).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runner

RunCentralisedMAS runner
Constructor Detail

CowbotsLauncher

public CowbotsLauncher()
Method Detail

launchMAS

public void launchMAS(java.lang.String[] args)
this method starts a mas. if one startup argument is given, the argument is threated as the mas2j file to load a mas on localhost. if a second argument is given, it is always interpreted as the massim server address the agents should connect to. if no arguments are given, the launcher tries to show a gui for mas selection (otherwise, it exits the application). the gui is automatically hidden on machines not capable of displaying a gui, this way the launcher can be used to start a cowbot mas on machine without a graphical interface (like servers, etc).

Parameters:
args - startup arguments