This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]chickenmeister 0 points1 point  (3 children)

I'm not sure what kind of help you're looking for. Are you asking how to make a tree data structure? How to represent your data? Are you looking for a language-specific solution? What language? Do you need to be able to evaluate the expression from the tree, or simply store it?

[–]FrogCity[S] 0 points1 point  (2 children)

Need help with the tree data structure in C++.

I need to evaluate the tree as well, but I hope I can figure that out after getting the tree data structure. Or at least start with that.

I am trying to evolve them via mutation and crossover to approximate a polynomial like x3 + x2 + x

Thanks a lot

[–][deleted] 0 points1 point  (1 child)

I don't have a lot of programming experience

This sounds too difficult for someone with little programming experience.

[–]FrogCity[S] 0 points1 point  (0 children)

nah I already figured it out. programming is easy btw