985
Comment:
|
879
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
adapt_costs(transform=no_transform, cost_type=NORMAL) | adapt_costs(cost_type=NORMAL) |
Line 9: | Line 9: |
* ''transform'' ([[Doc/AbstractTask|AbstractTask]]): Parent task transformation |
Contents
adapt_costs
adapt_costs(cost_type=NORMAL)
cost_type ({NORMAL, ONE, PLUSONE}): Operator cost adjustment type. No matter what this setting is, axioms will always be considered as actions of cost 0 by the heuristics that treat axioms as actions.
NORMAL: all actions are accounted for with their real cost
ONE: all actions are accounted for as unit cost
PLUSONE: all actions are accounted for as their real cost + 1 (except if all actions have original cost 1, in which case cost 1 is used). This is the behaviour known for the heuristics of the LAMA planner. This is intended to be used by the heuristics, not search engines, but is supported for both.
no_transform
no_transform()