Sylvain Gelly wrote:
It looks like MoGo does respect the time_left commands from GTP, so I
don't think the totalTime parameter is required in this case.
What do you mean? If you don't put --totalTime, then MoGo indeed ignores
time_left. If you put --totalTime, then it respect the time_left.
The reason I said that was this behavior from mogo. If I start it without that switch and as for a move, it allocates 20 seconds. If I then issue a small
time_left command and ask for another move, it allocates a much smaller amount of time. Here is the output:
[EMAIL PROTECTED]:~/go$ ./mogo --19
initiateNodeUrgencyForShisho at root node!
Load opening database openingValues_19 succeed (nbEntries=60629)
(nbIllegalMoves removed 0)
tried to open openingValues_19, success 1
genmove b
time left: 120000 secs
time given for this move: 20.0 sec time
shishoCheck is called. Now we have 0 shishoLocations: and 0 attackShishoLocation
initiateNodeUrgencyForShisho at root node!
Self train initiation time: 0.000000
0.450253(81%) || 1186/ 10000(12%)(72%)(54%/0.59) || 44 |12 || G4 E5 F5 E4
E6 D6 D7 E7 F6 ||SSP:G4 C2 H1 J9 J4 ||PSP:G4 C2 H1 J9 J4
0.436817(80%) || 4487/ 20000(22%)(31%)(72%/0.59) || 89 |13 || F6 D5 E4 F5
G5 E6 F7 E7 E8 F8 ||SSP:F6 G4 C2 H1 J3 ||PSP:F6 G4 C2 H1 J3
0.476407(90%) || 5277/ 30000(18%)(91%)(59%/0.54) || 190 |13 || E5 E4 F4 D4
E3 F5 D5 G4 F3 D3 ||SSP:E5 F6 D5 G4 C2 ||PSP:E5 F6 D5 G4 C2
0.454793(91%) || 11005/ 40000(28%)(44%)(80%/0.56) || 275 |14 || E5 E4 D5 F4
D4 D3 C3 F5 F6 C2 ||SSP:E5 F6 D5 F5 E4 ||PSP:E5 F6 D5 F5 E4
0.475555(94%) || 12436/ 50000(25%)(88%)(93%/0.53) || 323 |15 || F5 H5 E2 D7
F7 G7 G6 H7 G8 H8 ||SSP:F5 E5 F6 D5 E4 ||PSP:F5 E5 F6 D5 E4
0.481018(97%) || 22284/ 60000(37%)(49%)(94%/0.52) || 374 |15 || F5 H5 E2 F7
C6 D6 D5 D7 E6 C7 ||SSP:F5 E5 F6 D5 E4 ||PSP:F5 E5 F6 D5 E4
0.477984(94%) || 32022/ 70000(46%)(34%)(75%/0.52) || 428 |17 || F5 H5 E2 F7
C6 D6 D5 D7 E6 C7 ||SSP:F5 E5 F6 D5 E4 ||PSP:F5 E5 F6 D5 E4
0.470916(86%) || 39111/ 80000(49%)(28%)(61%/0.52) || 483 |17 || F5 H5 E2 F7
C6 D6 D5 D7 E6 C7 ||SSP:F5 E5 F6 D5 E4 ||PSP:F5 E5 F6 D5 E4
earlyCut : max1 42505; max2 11005; sum 84807 max1/sum 0.501191 ; max1/max2
3.861984 (hard 0)
0.467192(41%) || 42505/ 84807(50%)(26%)(56%/0.52) || 513 |17 || F5 H5 E2 F7
C6 D6 D5 D7 E6 C7 ||SSP:F5 E5 F6 D5 E4 ||PSP:F5 E5 F6 D5 E4
84807 simulations(average length:0) done, time used: 14.63 seconds.( 5796.8
games/sec)
A B C D E F G H J A B C D
E F G H J
+---------------------------+
+---------------------------------------------------------------------------------+
9 | . . . . . . . . . | | 0.3568 0.4000 2.4650 0.4468
0.3739 0.2987 0.3438 0.3775 0.3531 |
8 | . . . . . . . . . | | 2.4638 0.4384 2.4519 2.4556
2.4667 2.4589 2.4645 0.3612 0.3939 |
7 | . . . . . . . . . | | 0.4314 0.5714 2.4512 2.4637
2.4521 0.4403 0.4340 0.4259 0.3842 |
6 | . . . . . . . . . | | 0.3411 2.4606 2.4569 2.4634
2.4618 0.4322 0.5333 2.4670 0.3783 |
5 | . . . . . . . . . | | 0.3688 0.4433 2.4625 0.4450
0.4548 0.4672 0.4218 0.3996 0.3436 | Black to play
4 | . . . . . . . . . | | 0.3558 0.4111 2.4648 0.0001
0.4474 2.4652 0.4343 0.4400 0.4055 | Black eaten stone(s): 0
3 | . . . . . . . . . | | 0.3318 0.4500 0.4452 0.4113
2.4602 0.4554 0.3784 0.4123 0.4050 | White eaten stone(s): 0
2 | . . . . . . . . . | | 0.3658 0.3900 0.4232 0.4286
0.3070 0.4504 0.4053 0.3831 0.3723 |
1 | . . . . . . . . . | | 0.3201 0.3807 0.3238 0.3694
0.3747 0.3673 0.4036 0.3938 0.3508 |
+---------------------------+
+---------------------------------------------------------------------------------+
A B C D E F G H J A B C D E F G H J
+---------------------------+ +---------------------------+
9 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
8 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
7 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
6 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | Move 1: F5
5 | . . . . . (@) . . . | | 0 0 0 0 0 1 0 0 0 | White to
play
4 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | Black
eaten stone(s): 0
3 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | White
eaten stone(s): 0
2 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
1 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |time_left w
1 0
=
genmove w
time left: 1 secs
time given for this move: 0.0 sec time
fast end mode gives one move:D8
A B C D E F G H J A B C D E F G H J
+---------------------------+ +---------------------------+
9 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
8 | . . . (O) . . . . . | | 0 0 0 2 0 0 0 0 0 |
7 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
6 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | Move 2: D8
5 | . . . . . @ . . . | | 0 0 0 0 0 1 0 0 0 | Black to
play
4 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | Black
eaten stone(s): 0
3 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 | White
eaten stone(s): 0
2 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
1 | . . . . . . . . . | | 0 0 0 0 0 0 0 0 0 |
+---------------------------+ +---------------------------+
D8
= D8
+---------------------------+ +---------------------------+
F5
= F5
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/