Skip to content

Commit 12fa9f0

Browse files
authored
Merge pull request #9 from DEIS-Tools/missing_action_impl
added missing implementation
2 parents da69904 + 13274c0 commit 12fa9f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/SimpleTree.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,18 @@
3333
#include <unordered_set>
3434

3535
using json = nlohmann::json;
36+
37+
const std::vector<std::string>& SimpleTree::actions() const
38+
{
39+
return _actions;
40+
}
41+
3642
SimpleTree SimpleTree::parse(std::istream& input, bool simplify, bool subsumption, double accuracy)
3743
{
3844
std::vector<double> empty;
3945
return parse(input, simplify, subsumption, accuracy, empty);
4046
}
47+
4148
SimpleTree SimpleTree::parse(std::istream& input, bool simplify, bool subsumption, double accuracy, std::vector<double>& exactness)
4249
{
4350
auto raw = json::parse(input);

0 commit comments

Comments
 (0)