Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove scenario from parameters? #176

Open
pedro-andrade-inpe opened this issue Feb 9, 2017 · 0 comments
Open

remove scenario from parameters? #176

pedro-andrade-inpe opened this issue Feb 9, 2017 · 0 comments
Labels

Comments

@pedro-andrade-inpe
Copy link
Member

Is is possible to remove the scenario from the parameters when there is only one? For example:

local m = MultipleRuns{
    model = Fire,
    repetition = 30,
    showProgress = true,
    parameters = {scenario = {
        --empty = 0.4,
        empty = Choice{min = 0.2, max = 0.9, step = 0.1},--0.4,
        dim = 30
    }},
    forest = function(model)
        return model.cs:state().forest or 0
    end,
    -- ...

could be

local m = MultipleRuns{
    model = Fire,
    repetition = 30,
    showProgress = true,
    parameters = {
        --empty = 0.4,
        empty = Choice{min = 0.2, max = 0.9, step = 0.1},--0.4,
        dim = 30
    },
    forest = function(model)
        return model.cs:state().forest or 0
    end,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant