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.kernel
Class PatchVariable

    java.lang.Object
      turtlekit.kernel.PatchVariable

    public final class PatchVariable

extends java.lang.Object

Use this class to create a numeric patch variable (double). Having created one, you can set its evaporation and diffusion coefficients to a specific percentage (0 <= coef <= 1). You can also give a default value for this flavor (when the simualtion starts each patch has its own flavor with the given default value). Evaporation simply consists in deacrease the value. Diffusion makes each patch share a percentage of a value with its eight neighboring patches.

Version:
  1.2 4/1/2001
Author:
  Fabien MICHEL

Constructor Summary
`PatchVariable(java.lang.String name)`

Method Summary
`void` | `setDefaultValue(double defaultValue)`
`void` | `setDiffuseCoef(double diffuseCoef)`
`void` | `setEvapCoef(double evapCoef)`
`java.lang.String` | `toString()`

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

Constructor Detail

### PatchVariable

    public PatchVariable(java.lang.String name)

Method Detail

### setEvapCoef

    public final void setEvapCoef(double evapCoef)

### setDiffuseCoef

    public final void setDiffuseCoef(double diffuseCoef)

### setDefaultValue

    public final void setDefaultValue(double defaultValue)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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.