Skip to content

Commit

Permalink
Removes static preconditions from precondition from the translator
Browse files Browse the repository at this point in the history
  • Loading branch information
kris701 committed May 11, 2024
1 parent 0878afc commit 9d46d4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FlashPlanner.CLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void Run(Options opts)
var pddlDecl = new PDDLDecl(domain, problem);

Console.WriteLine("Translating...");
var translator = new PDDLToSASTranslator();
var translator = new PDDLToSASTranslator(true);
var sasDecl = translator.Translate(pddlDecl);

Console.WriteLine("Building search engine...");
Expand Down
2 changes: 1 addition & 1 deletion FlashPlanner.CLI/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"FlashPlanner.CLI": {
"commandName": "Project",
"commandLineArgs": "--domain ../../../../Dependencies/downward-benchmarks/rovers/domain.pddl --problem ../../../../Dependencies/downward-benchmarks/rovers/p10.pddl --search \"greedy(hFF())\""
"commandLineArgs": "--domain ../../../../Dependencies/downward-benchmarks/logistics00/domain.pddl --problem ../../../../Dependencies/downward-benchmarks/logistics00/probLOGISTICS-14-1.pddl --search \"greedy(hFF())\""
}
}
}
2 changes: 1 addition & 1 deletion FlashPlanner.Tests/BasePlannerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal static SASDecl GetSASDecl(string domain, string problem)
parser.ParseAs<ProblemDecl>(new FileInfo(problem))
);

var translator = new PDDLToSASTranslator();
var translator = new PDDLToSASTranslator(true);
var decl = translator.Translate(pddlDecl);

_declCache.Add(domain + problem, decl);
Expand Down
2 changes: 1 addition & 1 deletion FlashPlanner/FlashPlanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<PropertyGroup>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 9d46d4d

Please sign in to comment.