Added dummy expression to check that with removed double negations, expressions are still correctly normalized.

This commit is contained in:
2016-09-02 18:32:13 +02:00
parent 1a96c3ec72
commit 4fb2c331f3
4 changed files with 82 additions and 6 deletions

View File

@@ -0,0 +1,36 @@
#include <plasp/pddl/expressions/Dummy.h>
#include <plasp/pddl/IO.h>
namespace plasp
{
namespace pddl
{
namespace expressions
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Dummy
//
////////////////////////////////////////////////////////////////////////////////////////////////////
bool Dummy::isNormalized() const
{
return m_isNormalized;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
ExpressionPointer Dummy::normalize()
{
m_isNormalized = true;
return nullptr;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}
}