11 Replies Latest reply: Dec 16, 2008 12:03 PM by 807589 RSS

    Creating random expression trees

    807589
      (operator at the node, operands at the 2 branches)

      I need an algorithm or at least a point in the right direction in how to create random expression trees with X number of characters (characters being either numbers or operators). I'm been taking stabs at this for a few days without luck. I'd appreciate any help.