TerraME / terrame

TerraME is a programming environment for spatial dynamical modelling
www.terrame.org
GNU Lesser General Public License v3.0
35 stars 13 forks source link

Model with named tables having minimum, maximum, and step #166

Closed pedro-andrade-inpe closed 9 years ago

pedro-andrade-inpe commented 10 years ago

Implement the possibility of having minimum, maximum, and step attributes in a named table to define a set of possible values for a given attribute of a Model, such as:

MyModel = Model{
    par1 = {
        minimum = 3,
        maximum = 8,
        step = 0.5
    }
}
m2 = MyModel{par1 = 5}

See the documentation in https://github.com/pedro-andrade-inpe/terrame/wiki/Models

pedro-andrade-inpe commented 9 years ago

use choice() for this.