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 99import game .Game ;
1010import main .collections .FastArrayList ;
1111import other .AI ;
12+ import other .RankUtils ;
1213import other .action .Action ;
1314import other .context .Context ;
1415import other .move .Move ;
@@ -113,7 +114,7 @@ public ExampleDUCT()
113114
114115 // This computes utilities for all players at the of the playout,
115116 // which will all be values in [-1.0, 1.0]
116- final double [] utilities = AIUtils .utilities (contextEnd );
117+ final double [] utilities = RankUtils .utilities (contextEnd );
117118
118119 // Backpropagate utilities through the tree
119120 while (current != null )
Original file line number Diff line number Diff line change 77import game .Game ;
88import main .collections .FastArrayList ;
99import other .AI ;
10+ import other .RankUtils ;
1011import other .context .Context ;
1112import other .move .Move ;
12- import utils .AIUtils ;
1313
1414/**
1515 * A simple example implementation of a standard UCT approach.
@@ -106,7 +106,7 @@ public ExampleUCT()
106106
107107 // This computes utilities for all players at the of the playout,
108108 // which will all be values in [-1.0, 1.0]
109- final double [] utilities = AIUtils .utilities (contextEnd );
109+ final double [] utilities = RankUtils .utilities (contextEnd );
110110
111111 // Backpropagate utilities through the tree
112112 while (current != null )
You can’t perform that action at this time.
0 commit comments