MrNice wrote:
Hi Guyz,
I just wondering on which type of structure do you store you gametree when you are using it ? vector, list, ?
I'm working with obecjts that have pointers to the 2 or 3 next nodes and 1 pointer to the previous node...
Regards,
MrNice
I am using the same approach. Each node-object keeps track of all of its childnodes in an array of pointers.
Just for curiosity: Why do you need the pointers to the parents?
Edit: To store the strategy I create two files: one index file containing the offsets to the frequencies of each node in the second (the actual strategy) file. Obviously you then need node-IDs for addressing the offsets in the index file.Statistics: Posted by Nose — Tue Nov 05, 2013 12:59 am
]]>