#96 CTreeQuery

Closed
opened 3 years ago by ranides · 1 comments
ranides commented 3 years ago

Implement CQuery which allows generic traversing tree using DFS and BFS.

It should take one argument, function which splits node into children nodes. Something like:

split(node) => Collection<node>

split(node) => Iterator<node>

split(node) => CQuery<node>
Implement CQuery which allows generic traversing tree using DFS and BFS. It should take one argument, function which splits node into children nodes. Something like: ``` split(node) => Collection<node> split(node) => Iterator<node> split(node) => CQuery<node> ```
ranides referenced this issue from a commit 3 years ago
ranides commented 3 years ago
Owner

Implementing DFS is easy. Implementing BFS looks like a nightmare.

Implementing DFS is easy. Implementing BFS looks like a nightmare.
ranides referenced this issue from a commit 3 years ago
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.