Poker-AI.org Poker AI and Botting Discussion Forum 2013-11-14T13:42:11+00:00 http://poker-ai.org/phpbb/feed.php?f=24&t=2606 2013-11-14T13:42:11+00:00 2013-11-14T13:42:11+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2606&p=5240#p5240 <![CDATA[Re: On Which type of structure do you store your game tree ?]]>

I'm using a pointer to the parent during the game tree creation phase...

MrNice

Statistics: Posted by MrNice — Thu Nov 14, 2013 1:42 pm


]]>
2013-11-05T00:59:53+00:00 2013-11-05T00:59:53+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2606&p=5172#p5172 <![CDATA[Re: On Which type of structure do you store your game tree ?]]> 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


]]>
2013-11-04T18:37:22+00:00 2013-11-04T18:37:22+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2606&p=5170#p5170 <![CDATA[Re: On Which type of structure do you store your game tree ?]]>
Thanks for your input.

Right now I see why I have to work with array :D

Just to save pointer on a data file it's a bit tricky :D

Statistics: Posted by MrNice — Mon Nov 04, 2013 6:37 pm


]]>
2013-10-04T12:16:22+00:00 2013-10-04T12:16:22+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2606&p=5048#p5048 <![CDATA[Re: On Which type of structure do you store your game tree ?]]> - Use arrays instead.
- http://www.poker-ai.org/archive/www.pok ... ml?p=39384

Statistics: Posted by spears — Fri Oct 04, 2013 12:16 pm


]]>
2013-10-04T10:56:26+00:00 2013-10-04T10:56:26+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2606&p=5045#p5045 <![CDATA[On Which type of structure do you store your game tree ?]]>
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

Statistics: Posted by MrNice — Fri Oct 04, 2013 10:56 am


]]>