Changeset 14142
- Timestamp:
- 07/21/16 05:30:47 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/Automaton.cs
r14135 r14142 392 392 writer.WriteLine("digraph {"); 393 393 // writer.WriteLine("rankdir=LR"); 394 int[] fs;395 int nFs;396 394 for (int s = StartState; s < stateNames.Count; s++) { 397 395 for (int i = 0; i < followStates[s].Count; i++) { -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/Disassembler.cs
r14135 r14142 38 38 case (byte)OpCodes.LoadVar: 39 39 { 40 short arg = (short)(( (short)code[pc] << 8) | (short)code[pc + 1]);40 short arg = (short)((code[pc] << 8) | code[pc + 1]); 41 41 pc += 2; 42 42 sb.AppendFormat(" var{0} ", arg); break; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/ExpressionEvaluator.cs
r14135 r14142 512 512 s = 0; 513 513 if (op == (byte)OpCodes.LoadVar) { 514 s = (short)(( (short)code[pc] << 8) | (short)code[pc + 1]);514 s = (short)((code[pc] << 8) | code[pc + 1]); 515 515 pc += 2; 516 516 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/SymbolicExpressionGenerator.cs
r14135 r14142 176 176 s = 0; 177 177 if (op == OpCodes.LoadVar) { 178 s = (short)(( (short)code[pc] << 8) | (short)code[pc + 1]);178 s = (short)((code[pc] << 8) | code[pc + 1]); 179 179 pc += 2; 180 180 }
Note: See TracChangeset
for help on using the changeset viewer.