File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
import game .Game ;
10
10
import main .collections .FastArrayList ;
11
11
import other .AI ;
12
+ import other .RankUtils ;
12
13
import other .action .Action ;
13
14
import other .context .Context ;
14
15
import other .move .Move ;
@@ -113,7 +114,7 @@ public ExampleDUCT()
113
114
114
115
// This computes utilities for all players at the of the playout,
115
116
// which will all be values in [-1.0, 1.0]
116
- final double [] utilities = AIUtils .utilities (contextEnd );
117
+ final double [] utilities = RankUtils .utilities (contextEnd );
117
118
118
119
// Backpropagate utilities through the tree
119
120
while (current != null )
Original file line number Diff line number Diff line change 7
7
import game .Game ;
8
8
import main .collections .FastArrayList ;
9
9
import other .AI ;
10
+ import other .RankUtils ;
10
11
import other .context .Context ;
11
12
import other .move .Move ;
12
- import utils .AIUtils ;
13
13
14
14
/**
15
15
* A simple example implementation of a standard UCT approach.
@@ -106,7 +106,7 @@ public ExampleUCT()
106
106
107
107
// This computes utilities for all players at the of the playout,
108
108
// which will all be values in [-1.0, 1.0]
109
- final double [] utilities = AIUtils .utilities (contextEnd );
109
+ final double [] utilities = RankUtils .utilities (contextEnd );
110
110
111
111
// Backpropagate utilities through the tree
112
112
while (current != null )
You can’t perform that action at this time.
0 commit comments