Closed drexlerd closed 10 months ago
Modeling bugs should be presented loudly to users. This sounds like a modeling bug so I'm in favor of aborting with an error.
An example error report for multiple definitions of a constant ;)
terminate called after throwing an instance of 'loki::MultiDefinitionConstantError'
what(): The constant with name "roomb" has already been defined.
In file benchmarks/gripper/domain.pddl, line 3:
(:constants rooma roomb roomb)
~~~~~ <<-- Here
Option 1: throw an error Option 2: simply filter them out using sets