Skip to content

Commit

Permalink
Add test for landmarks SPhO and revert config name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Mar 10, 2025
1 parent 69809ec commit eea0181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions misc/tests/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def configs_optimal_lp(lp_solver="cplex"):
"""astar(pho([projections(systematic(2))], saturated=true, max_orders=1))"""],
"lm_ocp": _get_landmark_config(cost_partitioning="optimal", lpsolver=lp_solver),
"lm_pho": _get_landmark_config(cost_partitioning="pho", lpsolver=lp_solver),
"lm_spho": _get_landmark_config(cost_partitioning="saturated_pho", lpsolver=lp_solver),
}


Expand Down
4 changes: 2 additions & 2 deletions src/search/landmarks/landmark_cost_partitioning_heuristic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ static plugins::TypedEnumPlugin<CostPartitioningMethod> _enum_plugin({
"like greedy_zero_one, but reuse costs not consumed by earlier landmarks"},
{"canonical",
"canonical heuristic over landmarks"},
{"posthoc_optimization",
{"pho",
"post-hoc optimization over landmarks"},
{"saturated_posthoc_optimization",
{"saturated_pho",
"saturated post-hoc optimization over landmarks"},
});
}

0 comments on commit eea0181

Please sign in to comment.