Added accessor for action costs usage.

This commit is contained in:
Patrick Lühne 2016-05-20 18:26:42 +02:00
parent b083d77ad4
commit fb04b5fb11
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class Description
public:
Description();
bool usesActionCosts() const;
const std::vector<Variable> &variables() const;
const std::vector<MutexGroup> &mutexGroups() const;
const std::vector<AssignedVariable> &initialStateFacts() const;

View File

@ -58,6 +58,13 @@ Description Description::fromFile(const boost::filesystem::path &path)
////////////////////////////////////////////////////////////////////////////////////////////////////
bool Description::usesActionCosts() const
{
return m_usesActionCosts;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
const std::vector<Variable> &Description::variables() const
{
return m_variables;