net.simplace.usermodules.gk.learning.PredatorPrey
Component Variables
| Content Type | Name | Description | Data Type | Unit | Min Value | Max Value | Default Value |
| constant | cBirthRatePredator | - | DOUBLE | | - | - | 0.2 |
| constant | cBirthRatePrey | - | DOUBLE | | - | - | 0.4 |
| constant | cDamageFactor | - | DOUBLE | | - | - | 0.15 |
| constant | cDeathRatePredator | - | DOUBLE | | - | - | 0.3 |
| constant | cDeathRatePrey | - | DOUBLE | | - | - | 0.3 |
| constant | cInitialPredator | - | DOUBLE | | - | - | 1.0 |
| constant | cInitialPrey | - | DOUBLE | | - | - | 1.0 |
| constant | cMeetFactor | - | DOUBLE | | - | - | 0.1 |
| constant | cNutritionFactor | - | DOUBLE | | - | - | 0.2 |
| state | sPredator | - | DOUBLE | | - | - | 0.0 |
| state | sPrey | - | DOUBLE | | - | - | 0.0 |
| rate | rPredatorRate | - | DOUBLE | | - | - | 0.0 |
| rate | rPreyRate | - | DOUBLE | | - | - | 0.0 |
public class PredatorPrey extends net.simplace.sim.model.FWSimComponent {
// Public Constructors
public PredatorPrey(String aName, HashMap aFieldMap, HashMap aInputMap,
Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber);
public PredatorPrey();
// Public Instance Methods public HashMap createVariables(); // Defines
net.simplace.sim.model.FWSimComponent
// Protected Instance Methods protected void init(); // Defines net.simplace.sim.model.FWSimComponent
protected void process(); // Defines net.simplace.sim.model.FWSimComponent
protected FWSimComponent clone(FWSimVarMap aVarMap);
// Defines net.simplace.sim.model.FWSimComponent
creates a clone from this SimComponent for use in other threads
}
Hierarchy: java.lang.Object - net.simplace.sim.model.FWSimComponent (net.simplace.sim.util.FWSimFieldContainer) - PredatorPrey