Changeset 11806 for branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.GrammaticalOptimization
- Timestamp:
- 01/20/15 20:25:00 (10 years ago)
- Location:
- branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.GrammaticalOptimization
- Files:
-
- 5 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.GrammaticalOptimization/HeuristicLab.Algorithms.GrammaticalOptimization.csproj
r11770 r11806 46 46 <Compile Include="AlternativesContextSampler.cs" /> 47 47 <Compile Include="SequentialSearch.cs" /> 48 <Compile Include="TemporalDifferenceTreeSearchSampler.cs" />49 48 <Compile Include="ExhaustiveRandomFirstSearch.cs" /> 50 <Compile Include="MctsContextualSampler.cs">51 <SubType>Code</SubType>52 </Compile>53 <Compile Include="MctsSampler.cs" />54 49 <Compile Include="ExhaustiveDepthFirstSearch.cs" /> 55 50 <Compile Include="ExhaustiveBreadthFirstSearch.cs" /> -
branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Algorithms.GrammaticalOptimization/SequentialSearch.cs
r11799 r11806 77 77 tries++; 78 78 var quality = problem.Evaluate(sentence) / problem.BestKnownQuality(maxLen); 79 if (double.IsNaN(quality)) quality = 0.0; 79 80 Debug.Assert(quality >= 0 && quality <= 1.0); 80 81 DistributeReward(quality);
Note: See TracChangeset
for help on using the changeset viewer.