turtlekit.simulations.diffusion
Class GridInitializer

java.lang.Object
  extended by madkit.kernel.AbstractAgent
      extended by madkit.kernel.Watcher
          extended by turtlekit.kernel.Observer
              extended by turtlekit.simulations.diffusion.GridInitializer
All Implemented Interfaces:
java.io.Serializable, ReferenceableAgent

public class GridInitializer
extends Observer

This agent just initializes the center patch flavor and flavor2 (PatchVariable Objects)

Version:
1.2 31/01/2000
Author:
Fabien MICHEL
See Also:
Serialized Form

Field Summary
 
Fields inherited from class turtlekit.kernel.Observer
envHeight, envWidth, patchGrid
 
Constructor Summary
GridInitializer(double v, double v2)
           
 
Method Summary
 void setup()
          override this method to make other initializations,not in constructor
 
Methods inherited from class turtlekit.kernel.Observer
activate, getSimulationGroup, watch
 
Methods inherited from class madkit.kernel.Watcher
addProbe, addProbe, end, getProbes, removeAllProbes, removeProbe, update
 
Methods inherited from class madkit.kernel.AbstractAgent
broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, disposeMyGUI, foundGroup, getAddress, getAgentInformation, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getCurrentKernelAddress, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, initGUI, isBelongingToGroup, isBelongingToGroup, isCommunity, isGroup, isGroup, isMemberOf, isMemberOf, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, receiveMessage, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, windowClosing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridInitializer

public GridInitializer(double v,
                       double v2)
Method Detail

setup

public void setup()
Description copied from class: Observer
override this method to make other initializations,not in constructor

Overrides:
setup in class Observer


Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.