PHP Classes

Classes of JOn

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of JOn (1)  >  Mission progress status  >  Reputation  
Picture of JOn
Name: JOn <contact>
Classes: 1
Country: United States United States
Age: 40
All time rank: 1083155 in United States United States
Week rank: 187 Up27 in United States United States Up
All time users: 2983
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Binary Tree  
Manage hierarchic trees of objects
This class can be used to manage an hierarchies of objects within a binary.

Each object of the class is a node that may have a reference two descendent objects: the right and the left nodes.

Each tree node object may contain a data variable of an arbitrary type.

The class provides functions for adding nodes given the left and right descendent nodes (oif any), as well to traverse the tree and print the data value of the nodes and count the number of nodes in the tree. (PHP5)
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 75% 75% - - - - 45% 3384
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z