Notices
Results 1 to 3 of 3

Thread: Random Tree Generation

  1. #1 Random Tree Generation 
    New Member
    Join Date
    Oct 2008
    Posts
    2
    How would one randomly generate mathematical operation trees, specifying both the number of variables, and the complexity of operations? (i.e., you could create a mathematical expression with one variable and one operation, or one variable and a million operations).


    Reply With Quote  
     

  2.  
     

  3. #2  
    Forum Freshman
    Join Date
    Oct 2008
    Posts
    6
    I dont understand anything at all , can you give a more concrete example ?


    Reply With Quote  
     

  4. #3  
    New Member
    Join Date
    Oct 2008
    Posts
    2
    http://www.math.wpi.edu/IQP/BVCalcHist/Image165.gif

    What algorithm could I use to generate trees with restrictions upon (a) how many variables are used, and (b) the complexity of the tree (ie, a tree could theoretically only have one variable, no constants, and still be amusingly large)?
    Reply With Quote  
     

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