Relative Content

Tag Archive for trees

Design pattern for access to tree-like database in Java?

I’m developing a Roleplaying character viewer/manager programme for a locap LARP system. The Characters have access to skills that are layed out in a tree-like structure. There are a lot of skills, and potentially a lot per character.

Count function on tree structure (non-binary)

I am implementing a tree Data structure in c# based (largely on Dan Vanderboom’s Generic implementation). I am now considering approach on handling a Count property which Dan does not implement.

Design pattern for isomorphic trees

I want to create a data structure to work with isomorphic tree. I don’t search for a “algorithms” or methods to check if two or more trees are isomorphic each other. Just to create various trees with the same structure.

algorithm to extract “possibilities” from a tree

From a given tree, subsequent trees have to be generated. Nodes can be marked as “variant” in the given tree (the example uses an asterisk to mark the node). All possible combinations between the variants form the resulting trees.