From 0f2c81f894f1bb58d649835ce9014e50d51ca6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sat, 4 Jun 2016 17:55:17 +0200 Subject: [PATCH] Added to-dos. --- src/plasp/pddl/Domain.cpp | 1 + src/plasp/pddl/Problem.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/plasp/pddl/Domain.cpp b/src/plasp/pddl/Domain.cpp index 9bd80ff..5a5a527 100644 --- a/src/plasp/pddl/Domain.cpp +++ b/src/plasp/pddl/Domain.cpp @@ -169,6 +169,7 @@ void Domain::parseRequirementSection() m_context.parser.skipWhiteSpace(); } + // TODO: Do this check only once the problem is parsed // If no requirements are specified, assume STRIPS if (m_requirements.empty()) m_requirements.emplace_back(Requirement::Type::STRIPS); diff --git a/src/plasp/pddl/Problem.cpp b/src/plasp/pddl/Problem.cpp index 36438fd..60dd461 100644 --- a/src/plasp/pddl/Problem.cpp +++ b/src/plasp/pddl/Problem.cpp @@ -133,6 +133,7 @@ void Problem::parseRequirementSection() m_context.parser.skipWhiteSpace(); } + // TODO: Do this check only once the domain is parsed // If no requirements are specified, assume STRIPS if (m_requirements.empty()) m_requirements.emplace_back(Requirement::Type::STRIPS);