Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## turtlekit.simulations.diffusion
Class DiffusionTest

    java.lang.Object
      madkit.kernel.AbstractAgent
          madkit.kernel.Agent
              turtlekit.kernel.Launcher
                  turtlekit.simulations.diffusion.DiffusionTest

All Implemented Interfaces:
  java.io.Serializable, java.lang.Runnable

    public class DiffusionTest

extends Launcher

only a test simulation with two viewers to display flavor and flavor2 diffusion on differents panels

Version:
  1.1 6/12/1999
Author:
  Fabien MICHEL
See Also:
  Serialized Form

Field Summary

Fields inherited from class turtlekit.kernel.Launcher
`COMMUNITY`

Constructor Summary
`DiffusionTest()`

Method Summary
`void` | `addSimulationAgents()` No turtles just two viewers to view indenpendantly the diffusions of flavor and flavor2
`double` | `getDiffusionValue()`
`double` | `getDiffusionValue2()`
`double` | `getEvaporationValue()`
`double` | `getEvaporationValue2()`
`double` | `getvalue()`
`double` | `getvalue2()`
`protected void` | `initializePatchVariables()` This method is where patch variables and their properties have to be defined.
`void` | `setDiffusionValue(double add)`
`void` | `setDiffusionValue2(double add)`
`void` | `setEvaporationValue(double add)`
`void` | `setEvaporationValue2(double add)`
`void` | `setvalue(double add)`
`void` | `setvalue2(double add)`

Methods inherited from class turtlekit.kernel.Launcher
`activate, addMyScheduler, addObserver, addObserver, addPatchVariable, addTurtle, addTurtle, addViewer, addViewer, addViewer, addViewer, addViewer, addViewer, end, getCellSize, getHeight, getSimulationName, getWidth, initGUI, launchPython, live, setCellSize, setCyclePause, setHeight, setSimulationName, setWidth, setWrapModeOn, stopOrResumeSimulation`

Methods inherited from class madkit.kernel.Agent
`connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage`

Methods inherited from class madkit.kernel.AbstractAgent
`broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, destroyGroup, disposeMyGUI, foundGroup, getAddress, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getCurrentKernelAddress, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, hashCode, hideMyGUI, isBelongingToGroup, isBelongingToGroup, isCommunity, isGroup, isGroup, isMemberOf, isMemberOf, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, toString, windowClosing`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DiffusionTest

    public DiffusionTest()

Method Detail

### setvalue

    public void setvalue(double add)

### getvalue

    public double getvalue()

### setvalue2

    public void setvalue2(double add)

### getvalue2

    public double getvalue2()

### setDiffusionValue

    public void setDiffusionValue(double add)

### getDiffusionValue

    public double getDiffusionValue()

### setDiffusionValue2

    public void setDiffusionValue2(double add)

### getDiffusionValue2

    public double getDiffusionValue2()

### setEvaporationValue

    public void setEvaporationValue(double add)

### getEvaporationValue

    public double getEvaporationValue()

### setEvaporationValue2

    public void setEvaporationValue2(double add)

### getEvaporationValue2

    public double getEvaporationValue2()

### initializePatchVariables

    protected void initializePatchVariables()

  This method is where patch variables and their properties have to be defined. Once having define a Flavor Object(new Falvor(name)) and its properties (with setDiffuseCoef, setEvaporation and setDefaultValue) you have to add it to the patches with the addPatchFlavor method of the Launcher, Be careful use this method only when override the initializePatchVariables method.

  Overrides:
    `initializePatchVariables` in class `Launcher`

### addSimulationAgents

    public void addSimulationAgents()

  No turtles just two viewers to view indenpendantly the diffusions of flavor and flavor2

  Specified by:
    `addSimulationAgents` in class `Launcher`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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