implement short version of new cards value function; reimplement calc cards chance with new short cards value function

This commit is contained in:
floty
2014-05-26 02:06:49 +02:00
parent 0f59c0ad57
commit 6dffbaeea5
3 changed files with 127 additions and 44 deletions
+2 -10
View File
@@ -1054,17 +1054,9 @@ vector< vector<int> > ArrayData::getHandChancePreflop(int handCode)
int check = -1;
int i;
vector< vector<int> > chance(2);
chance[0].resize(10);
chance[1].resize(10);
for(i=0; i<10; i++) {
chance[0][i] = 0;
chance[1][i] = 0;
}
chance[0].assign(10,0);
chance[1].assign(10,0);
for (unsigned val = 0; val < NUM_HAND_CHANCE_PREFLOP; val++) {
if(handCode == handChancePreflop[val].hand) {