Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

sahar90

  • 3 years ago

i want to spannig a tree with known childeren; i think preOrder is the best. but i dont know how to implement it in java; is there any one can help me?

  • This Question is Closed
  1. KonradZuse
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html

  2. sahar90
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    tnx for ur help; as a matter of fact i read the link u send ; but i dont find my answer:( tnx alot

  3. KonradZuse
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Well I'm not sure what exactly you are asking, so I cannoit help you.

  4. slotema
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    If I understand correctly, you want to create a spanning tree, but one with fixed children? One way you could do this is by reversing an algorithm for creating a normal spanning tree. Like e.g. connect each child to a non-child node. Then connect those nodes to other non-child nodes until you end up with a single starting point.

  5. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy