Class: Agent

Definition of an Agent. The main part of the agent defintion is a list of assignments of stand treatment programmes (STP) to mixture types. In addition, logic can be added for selecting mixture types from forest attributes.

    var x = { stp: { "fasy": ["beech_default_1", "beech_default_2", "beech_default3"],
                     "piab": "spruce_default" }
              onSelect: function(){ return "fasy"; }
             }