I have been working on this topic for three days. I can not seem to solve the problem. I need to generate tree when the user enter binary with the corresponding variable the tree should be generated recursive until a certain condition is met.

This topic is new to me.

Thanks

You will need to supply a lot more information about what you are trying to do.

Ok, i want to generate a tree recursively, the user enters binary number: 000,001..111 which correspond to the declared variables(terminal sets:(a0,a1,d0,d1,d2,d3)) and function set say(and,not,or). I tried random generator, in fact im not sure how i should approach this.

Thanks.

I have no idea what you are trying to do. Nothing you have said so far seems related to the java programming language.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.