Added accessor for action costs usage.
This commit is contained in:
parent
b083d77ad4
commit
fb04b5fb11
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user