Issue399

Title Invariance synthesis: bug in heaviness check
Priority bug Status resolved
Superseder Nosy List gabi, malte
Assigned To gabi Keywords
Optional summary

Created on 2013-12-02.17:42:41 by gabi, last changed by gabi.

Messages
msg2774 (view) Author: gabi Date: 2013-12-10.14:42:05
Merged.
msg2772 (view) Author: malte Date: 2013-12-10.14:24:17
Hashing by ID is exactly what we want. No need to review, please merge.
msg2769 (view) Author: gabi Date: 2013-12-10.10:30:09
Hashing by id is fine, isn't it? I fixed the bug using the action instead of its
name as key in the heavy action dict. On the benchmark instances, this has no
effect on the translator output (run time is fine as well).

Malte, would you like to review the change or should I simply merge it?
msg2743 (view) Author: malte Date: 2013-12-02.17:43:55
It looks like pddl.Action doesn't implement a __hash__ method, so if we just
hash the action itself, we'll get hashing by ID.
msg2742 (view) Author: gabi Date: 2013-12-02.17:42:41
BalanceChecker.get_heavy_action relies on the assumption that action names are
unique. This is not necessarily the case after normalization. We should use the
id instead.
History
Date User Action Args
2013-12-10 14:42:05gabisetstatus: in-progress -> resolved
messages: + msg2774
2013-12-10 14:24:17maltesetmessages: + msg2772
2013-12-10 10:30:09gabisetstatus: chatting -> in-progress
messages: + msg2769
2013-12-02 17:43:55maltesetstatus: unread -> chatting
nosy: + malte
messages: + msg2743
2013-12-02 17:42:41gabicreate