Hierarchy

Tree like structure

Examples:

  • Inheritance tree of classes.
  • ‘Part of’ relationship among parts of composite object.
  • ‘Reports to’ relations among employees in a company.
  • RSS
  • Print
  • PDF
  • Twitter
  • del.icio.us
  • Facebook
  • LinkedIn
  • Google Bookmarks
  • Digg
  • Add to favorites
  • StumbleUpon

Comments 2

  1. ?JAKIR! wrote:

    How to implement in programming?

    Posted 20 Jun 2011 at 5:36 am
  2. Chetan wrote:

    Simplest way would be to create inheritance hierarchy.
    class1
    subclass1
    subclass2

    You can also create hierarchy with references. Here is psuedo code.
    class TreeBranch {
    List<TreeBranch> TreeBranches;
    AddChild(TreeBranch tb) { TreeBranches.Add(tb);}
    }

    Posted 20 Jun 2011 at 11:48 am

Post a Comment

Your email is never published nor shared. Required fields are marked *