Results 1 to 3 of 3

Thread: B tree

  1. #1
    wide is offline Member
    Join Date
    Jun 2009
    Posts
    2
    Rep Power
    0

    Default B tree

    Greetings,

    I've been working for a while on a pretty simple B-Tree implementation
    in Java...but my life just went crazy and I need a little help. I'm
    certainly not asking for source code that I can just pop in and have
    it work magically. All I need is some nicely written, Java/Object
    Oriented pseudocode.
    Last edited by wide; 06-30-2009 at 10:17 AM.

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    I think you'll get the most effective help if you describe the problem precisely. Ie, if you have code that is not doing what you expect (won't compile or exhibits strange/bad behaviour at runtime) then post it and say what the compiler/error messages are.

    If the problem lies in not really understanding what it is you are supposed to do, read the various descriptions of B trees (and B+ trees) that exist on Wikipedia and elsewhere. If you can't understand some point that is written there you at least have something precise that you can ask.

    While I'm sure there are many people willing to help you to find a solution to your problem the "All I need is..." approach smacks a little too much of looking for a handout. Someone may supply you with an answer you can can use in your homework, but I doubt they will.

    And, please don't post all over the place. This behaviour fits the "handout" model of internet forum usage. (After all you multiply you chances of getting teh codez!) But it is rather impolite in a forum which is based around the open exchange of information. Everybody participating in such an exchange deserves to know what everybody else is saying.

    Already posted at Sun Forums

  3. #3
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    as suggested, there are ample resources online for what you're looking for. before implementing this, you should do your best to understand the purpose and uses, the structure, then insert/delete/search/how it all works. if you understand these things, you will have your pseudocode.

Similar Threads

  1. AVL-tree construction
    By student89 in forum Advanced Java
    Replies: 0
    Last Post: 10-27-2008, 05:33 AM
  2. java tree
    By tony404 in forum Advanced Java
    Replies: 5
    Last Post: 06-23-2008, 06:43 PM
  3. tree sort
    By bigdoggy in forum New To Java
    Replies: 5
    Last Post: 05-01-2008, 05:52 AM
  4. Need Help With Tree Adt
    By avi in forum New To Java
    Replies: 0
    Last Post: 03-20-2008, 03:11 AM
  5. Creating a tree
    By Preethi in forum AWT / Swing
    Replies: 0
    Last Post: 01-07-2008, 01:04 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
  •