Skip to content

A Data Structure-focused example on how to implement a family tree in Java. Good for university students ;)

License

Notifications You must be signed in to change notification settings

xlxs4/family-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

family-tree

A Data Structure-focused example on how to implement a family tree in Java. Good for university students ;) This is kept simple for a reason.

  • There's a CSV file that can be parsed that only contains either information on a family member's gender, or its relationship with another family member, B. The relationship is included only if they are B's spouse, or parent, since all other relationships can be inferred
  • There's a record file that gets populated with each person's name and gender
  • The key thing; the ability to determine whether two persons are related given their name, and how
  • There's the ability to create a GraphViz file with the family tree encoded in DOT because, why not

If you've come this far, I have to reward you with the amazing https://stackoverflow.com/questions/6163683/cycles-in-family-tree-software. Fun read!

About

A Data Structure-focused example on how to implement a family tree in Java. Good for university students ;)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages