feldob / InPUT

A descriptive and programming language independent format and API for the simplified configuration, documentation, and design of computer experiments.
7 stars 25 forks source link

DesignSpace.next() never generates maximum legal value #41

Open finkn opened 10 years ago

finkn commented 10 years ago

For integer parameters, the maximum legal value is never generated, except when that is the only value.

See https://github.com/finkn/InPUTspec/blob/master/main/src/net/finkn/inputspec/v050/SimpleSingleRangeNextTest.java for details. singleInclIncl is one of the tests that show a missing value, while singleInclInclWithSingleValue demonstrates the exception for singleton ranges.