Skip to content

Traversal algorithm should be part of this kind of library #131

@schittli

Description

@schittli

Hello

Thanks a lot for sharing your great work!

Description

The Goals of the C5 library are defined like this.

The overall goal is for C5 to be a generic collection library for the C# programming language and the Common Language Infrastructure (CLI) whose functionality, efficiency and quality meets or exeeds what is available for similar contemporary programming platforms.

Therefore, I am very surprised that your TreeTraversal example: C5.UserGuideExamples/TreeTraversal.cs has to write a lot of code just to create and traverse a tree structure.

Because traversal algorithms are one of the most important use cases for data structures, it would be great if this subject could be enhanced in C5.
I'm pretty sure the C5 data structures are exceptional, but without cool features / functions, the library feels like the vision was lost just before the finish line.

Thanks a lot, kind regards,
Thomas

Solution

As an idea, please see this example:
https://github.com/Unskilledcrab/Hierarchy#hierarchy-example

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions