Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions example-run.txt

This file was deleted.

1 change: 1 addition & 0 deletions jupyddl/automated_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def greedy_best_first_search(
elif "delete_relaxation" in heuristic_key:
heuristic = DeleteRelaxationHeuristic(self, heuristic_key)
elif "relaxed_critical_path" in heuristic_key:
logging.warning("Relaxed Critical Path is deficient for H^2 and H^3")
heuristic = RelaxedCriticalPathHeuristic(self, int(heuristic_key[-1]))
elif "critical_path" in heuristic_key:
heuristic = CriticalPathHeuristic(self, int(heuristic_key[-1]))
Expand Down
1 change: 1 addition & 0 deletions jupyddl/heuristics.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def compute(self, state):
if self.automated_planner.satisfies(goals, state):
costs = []
fact_costs_str = dict([(str(k), val) for k, val in fact_costs.items()])
print(fact_costs_str)
if self.critical_path_level == 1:
for g in goals:
if str(g) in fact_costs_str:
Expand Down