There are some cases where we have an optional argument to a heuristic (or other
structure) and there is no reasonable default value that fits the type of the
option, since the "default behaviour" is special in some way.
For example, in the PDB code that is currently being developed, there is an
optional "pattern" argument which is a list of ints, and we would like to be
able to find out whether or not a pattern was specified. (Using e.g. an empty
list as a default would not be possible, since that's a valid pattern
specification.) So it'd be good to be able to explicitly query if the value of
an option is "missing" or "unspecified". This could also be used in other cases
where we currently use invalid placeholder values like -1 (e.g. for the m&s
heuristics) as the default.
Moritz, would it be much work to add this?
|