Thread: Binary Trees MINI MAXING, probability trees

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    450

    Binary Trees MINI MAXING, probability trees

    Could anyone explain in english the basic idea behind these topics.
    The purpose of this thread is to get local Cprogrammers input and to increase interest in this topic.

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    450

    /Bump the bum.

    My take, many years ago I read a book on artificial intelligence and my memory is poor but here goes.

    Binary trees are often used because you may quickly search for any given data.
    The idea behind probability trees is to find the highest or lowest probability quickly. MINI MAXING means the data on the branches of the tree are weighted based on there distance from the root, and staticaly by the probability based on its distance (and often position depending on your traversal method) from the root. The weighted numbers are essentialy odds, while the position is a guess based on the odds.

    I invite any comments because it has been so long that I feel very shaky even replying under my own post.

    It is evident that these terms may be looked up via a search engine.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Binary trees are often used because you may quickly search for any given data.
    They are, however, memory inefficient.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    I had to do a project using the minimax algo for an AI class, I initially designed it using trees but it was ungodly slow, then I just did it as a couple of functions in C, which was a lot faster yet harder to read.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A Binary Search Tree of... Binary Search Trees...
    By SlyMaelstrom in forum C++ Programming
    Replies: 5
    Last Post: 12-10-2005, 02:12 PM
  2. Binary Trees
    By wvu2005 in forum C Programming
    Replies: 7
    Last Post: 10-15-2005, 04:59 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM