Changeset 12391 for branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/HeuristicLab.Problems.GrammaticalOptimization/Problems/RoyalSequenceProblem.cs
- Timestamp:
- 05/12/15 20:40:11 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization-gkr/HeuristicLab.Problems.GrammaticalOptimization/Problems/RoyalSequenceProblem.cs
r12099 r12391 24 24 private readonly SortedSet<char>[] optimalSymbolsForPos; 25 25 public string Name { get { return "RoyalSequence"; } } 26 public RoyalSequenceProblem( Random rand, int alphabetSize, int sequenceLen, int k = 1, double correctReward = 1.0, double incorrectReward = 0.0) {26 public RoyalSequenceProblem(System.Random rand, int alphabetSize, int sequenceLen, int k = 1, double correctReward = 1.0, double incorrectReward = 0.0) { 27 27 if (alphabetSize <= 0 || alphabetSize > 26) throw new ArgumentException(); 28 28 if (sequenceLen <= 0) throw new ArgumentException();
Note: See TracChangeset
for help on using the changeset viewer.