Name of data structure that's tree-like with multiple root nodesI stumbled upon someone's answer to a question regarding implementing a tree that has > 2 nodes above. I just wanted to get someone's thoughts on using a Forest Data Structure to implement a Family Genealogy Tree that consist of multiple nodes with 0-multiple children. I may use a Forest Tree, however from most representations that I searched up on and found, it looks similar to a disjointed set, but I do not want a parent node to already be pre-destined to have no children.I hope it makes sense what I am saying.Any advice or comments you could offer would be much appreciated.
Implementing a Forest Data Structure in Java
trees