Changeset 12762 for branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/Simulation/RandomSimulation.cs
- Timestamp:
- 07/14/15 20:42:55 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.MonteCarloTreeSearch/Simulation/RandomSimulation.cs
r12098 r12762 22 22 } 23 23 24 public double Simulate(TreeNode node )24 public double Simulate(TreeNode node, out string simulatedPhrase) 25 25 { 26 26 Sequence sequence = new Sequence(node.phrase); … … 48 48 } 49 49 } 50 simulatedPhrase = sequence.ToString(); 50 51 return problem.Evaluate(sequence.ToString()); 51 52 }
Note: See TracChangeset
for help on using the changeset viewer.