Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 507 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 507 Bytes

CRTPNodesLibrary

Immutable Types in this library implements IEquatable and override GetHashCode(). Each CRTP Node type has a non-CRTP version extending it. Some singleton types have factories to convert one node type to its type.

All trees now implement IEnumerable. Added IterateDefault() to iterate a tree differently and ConfigureIteration() to decorate a tree with different iteration. Unit tests have been added to CRTPNodesLibraryTest. They current contain usage of Preorder, Postorder and BFS.