Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 | using HeuristicLab.Algorithms.Bandits;
|
---|
7 | using HeuristicLab.Problems.GrammaticalOptimization;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Algorithms.MonteCarloTreeSearch
|
---|
10 | {
|
---|
11 | public class TreeNode
|
---|
12 | {
|
---|
13 | public string phrase;
|
---|
14 | public TreeNode parent;
|
---|
15 | public List<TreeNode> children;
|
---|
16 | public IBanditPolicyActionInfo actionInfo;
|
---|
17 | public bool expandable;
|
---|
18 | public List<int> unvisitedNonTerminals;
|
---|
19 |
|
---|
20 | public TreeNode(TreeNode parent, string phrase, bool expandable, List<int> unvisitedNonTerminals)
|
---|
21 | {
|
---|
22 | this.phrase = phrase;
|
---|
23 | this.expandable = expandable;
|
---|
24 | this.unvisitedNonTerminals = unvisitedNonTerminals;
|
---|
25 | }
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.