diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-05-03 17:14:23 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-05-03 17:14:23 +0200 |
commit | e2cf2ab253d32147e079a817f692f5c87b635c7e (patch) | |
tree | 65e3b0bdac4b525bb8a1cf0c8f9868ca6fcc00af /src/tasktree.h | |
parent | e3c0c95f2ad3d25411c007ce4ffdb25084a1bc0d (diff) |
Added breadth first search tour
Diffstat (limited to 'src/tasktree.h')
-rw-r--r-- | src/tasktree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tasktree.h b/src/tasktree.h index 6623b0f..aeeddfc 100644 --- a/src/tasktree.h +++ b/src/tasktree.h @@ -55,7 +55,9 @@ public: TaskIdList move(taskid_t id, taskid_t newParentId) throw (std::exception); TaskIdList updateData(taskid_t id, task_t t) throw (std::exception); task_t getData(taskid_t id) throw (std::exception); - + + TaskIdList bfs(taskid_t id) throw (std::exception); + TaskIdList ancestorList(taskid_t id) throw (std::exception); void toStdOut(); |