|Anonymous | Login||2019-07-23 12:23 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000800||OMNeT++||simulation kernel||public||2014-12-12 16:35||2014-12-12 16:36|
|Priority||low||Severity||feature||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0000800: @range property|
|Description||We are currently doing a lot of range checks of parameters in the handleParameterChange method. This requires some code but helps to prevent strange results due to wrong parameters.|
I just wanted to introduce a new property in our model called @range(min,max) (maybe with two optional parameters whether the lower and upper bounds are included in the range).
Then in the handleParameterChange I wanted to get the values from the property. This way the upper and lower bounds would be nicely documented in the ned!
Then I thought, this should be a simulation core feature!!! The simulation core could do the range checks then, this would allow the developers to save the code for range checks and the ini editor could check prior runtime for parameters that are out of bounds. And ned-doc could show the range!
In my eyes this would be very very very useful. And yould improve models a lot (A lot of models don't do range checks on the parameters!). If I'm not alone with this wish, I am happy to help implementing that for OMNeT++ 4.7. Comments appreciated! :)
|Tags||No tags attached.|
|2014-12-12 16:35||till||New Issue|
|2015-10-12 09:28||ammmar1988||Issue cloned: 0000868|
|Copyright © 2000 - 2019 MantisBT Team|