Results 1 to 3 of 3

Thread: tree in java

  1. #1
    sugir1987 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default tree in java

    Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After that we want to calculate the average of children and create a parent which average of children.Like following tree.

    tree in java-capture.png
    Last edited by sugir1987; 01-19-2012 at 05:01 AM.

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default Re: tree in java

    I am a little unsure of what you are asking. Would you mind attempting to explain more precisely what you need to do?

  3. #3
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,993
    Rep Power
    9

    Default Re: tree in java

    Please do not post the same question multiple times. I've deleted your duplicate thread.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Tree structure using JAVA
    By trill in forum Advanced Java
    Replies: 2
    Last Post: 05-27-2010, 11:02 AM
  2. Replies: 0
    Last Post: 04-04-2010, 07:40 AM
  3. Creating a Tree and then saving the Tree
    By jackmatt2 in forum New To Java
    Replies: 0
    Last Post: 08-22-2009, 12:51 PM
  4. java tree
    By tony404 in forum Advanced Java
    Replies: 5
    Last Post: 06-23-2008, 06:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •