Differences between revisions 16 and 17
Revision 16 as of 2016-05-12 09:56:58
Size: 3643
Editor: XmlRpcBot
Comment:
Revision 17 as of 2016-05-12 10:40:28
Size: 3642
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
'''shrink_bisimulation(greedy=true):''' Combine this with the merge-and-shrink options max_states=infinity and threshold_before_merge=1 and with the linear merge strategy reverse_level to obtain the variant 'greedy bisimulation without size limit', called M&S-gop in the IJCAI 2011 paper.When we last ran experiments on interaction of shrink strategies with label reduction, this strategy performed best when used with label reduction before shrinking (and no label reduction before merging). '''shrink_bisimulation(greedy=true):''' Combine this with the merge-and-shrink options max_states=infinity and threshold_before_merge=1 and with the linear merge strategy reverse_level to obtain the variant 'greedy bisimulation without size limit', called M&S-gop in the IJCAI 2011 paper. When we last ran experiments on interaction of shrink strategies with label reduction, this strategy performed best when used with label reduction before shrinking (and no label reduction before merging).
Line 34: Line 34:
 * ''random_seed'' (int [-1, infinity]): Set to -1 (default) to use the global random number generator.
Set to any other value to use a local random number generator with the given seed.
 * ''random_seed'' (int [-1, infinity]): Set to -1 (default) to use the global random number generator. Set to any other value to use a local random number generator with the given seed.
Line 46: Line 45:
 * ''random_seed'' (int [-1, infinity]): Set to -1 (default) to use the global random number generator.
Set to any other value to use a local random number generator with the given seed.
 * ''random_seed'' (int [-1, infinity]): Set to -1 (default) to use the global random number generator. Set to any other value to use a local random number generator with the given seed.

This page describes the various shrink strategies supported by the planner.

Bismulation based shrink strategy

This shrink strategy implements the algorithm described in the paper:

shrink_bisimulation(greedy=false, at_limit=RETURN)
  • greedy (bool): use greedy bisimulation

  • at_limit ({RETURN, USE_UP}): what to do when the size limit is hit

shrink_bisimulation(greedy=true): Combine this with the merge-and-shrink options max_states=infinity and threshold_before_merge=1 and with the linear merge strategy reverse_level to obtain the variant 'greedy bisimulation without size limit', called M&S-gop in the IJCAI 2011 paper. When we last ran experiments on interaction of shrink strategies with label reduction, this strategy performed best when used with label reduction before shrinking (and no label reduction before merging).

shrink_bisimulation(greedy=false): Combine this with the merge-and-shrink option max_states=N (where N is a numerical parameter for which sensible values include 1000, 10000, 50000, 100000 and 200000) and with the linear merge strategy reverse_level to obtain the variant 'exact bisimulation with a size limit', called DFP-bop in the IJCAI 2011 paper. When we last ran experiments on interaction of shrink strategies with label reduction, this strategy performed best when used with label reduction before shrinking (and no label reduction before merging).

f-preserving shrink strategy

This shrink strategy implements the algorithm described in the paper:

shrink_fh(random_seed=-1, shrink_f=HIGH, shrink_h=LOW)
  • random_seed (int [-1, infinity]): Set to -1 (default) to use the global random number generator. Set to any other value to use a local random number generator with the given seed.

  • shrink_f ({HIGH, LOW}): prefer shrinking states with high or low f values

  • shrink_h ({HIGH, LOW}): prefer shrinking states with high or low h values

shrink_fh(): Combine this with the merge-and-shrink option max_states=N (where N is a numerical parameter for which sensible values include 1000, 10000, 50000, 100000 and 200000) and the linear merge startegy cg_goal_level to obtain the variant 'f-preserving shrinking of transition systems', called called HHH in the IJCAI 2011 paper, see bisimulation based shrink strategy. When we last ran experiments on interaction of shrink strategies with label reduction, this strategy performed best when used with label reduction before merging (and no label reduction before shrinking).

Random

shrink_random(random_seed=-1)
  • random_seed (int [-1, infinity]): Set to -1 (default) to use the global random number generator. Set to any other value to use a local random number generator with the given seed.

FastDownward: Doc/ShrinkStrategy (last edited 2024-01-11 22:26:38 by XmlRpcBot)