Skip to content

Commit 6c257f6

Browse files
committed
Add generation of cell objects when there are no PDDL predicates associated to game object. Closes #27
1 parent 8647426 commit 6c257f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/controller/PlanningAgent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,11 @@ public void translateGameStateToPDDL(StateObservation stateObservation) {
603603
}
604604
}
605605
}
606+
607+
this.PDDLGameStateObjects.get(this.gameInformation.cellVariable).add(
608+
String.format("%s_%d_%d", this.gameInformation.cellVariable, x, y)
609+
.replace("?", "")
610+
);
606611
}
607612
}
608613

0 commit comments

Comments
 (0)