Malte, we also changed the method that determines domain file names from given
task file names in the driver script, and added a unit test to make sure that we
can determine a domain file name for all task file names. When running the test,
we noted that two out of five ways of looking for file names are not required.
If the candidate list of domain file names was as follows before:
domain_filenames = [
'domain.pddl',
taskfilename[:4] + 'domain.pddl',
taskfilename[:3] + '-domain.pddl',
'domain_' + taskfilename,
taskfilename[:-13] + "-domain.pddl"
]
then the following is enough to pass the test:
domain_basenames = [
'domain.pddl',
taskfilename[:3] + '-domain.pddl',
'domain_' + taskfilename,
]
Was the list of possible domain file names used for other purposes as well? Can
we remove the unused ways of matching names?
|