-
Notifications
You must be signed in to change notification settings - Fork 4
Description
The parser should output fully a resolved model, with non-null values for every field that effects the model. Thus, we need to specify the semantics of what the default values should be. We could do something like:
The value of an Epoch's
size_function
should be resolved after the epoch's start_size and end_size values have been resolved. If thestart_size
andend_size
are equal, the size function should be resolved to"constant"
, or otherwise toexponential
.
However, I think it's simpler if we just default to exponential
, and leave it up to the implementation to realise that the growth rate is 0. They will need to do this anyway, unless we make it part of the spec that parsers should raise an error if the size function is exponential and the start and end sizes are the same. This seems like it would end up being fragile and annoying to me, though.