Changeset 14746 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/ExpressionTable.cs
- Timestamp:
- 03/11/17 20:07:13 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/ExpressionTable.cs
r14745 r14746 5 5 6 6 using HeuristicLab.Problems.ProgramSynthesis.Push.Attributes; 7 using HeuristicLab.Problems.ProgramSynthesis.Push.Data.Pool; 7 8 using HeuristicLab.Problems.ProgramSynthesis.Push.Stack; 8 9 … … 123 124 } 124 125 125 public static PushProgram GetProgram( int[] index) {126 public static PushProgram GetProgram(IManagedPool<PushProgram> pool, int[] index) { 126 127 var expressions = new Expression[index.Length]; 127 128 … … 130 131 } 131 132 132 return new PushProgram(expressions);133 return PushProgram.Create(pool, expressions); 133 134 } 134 135
Note: See TracChangeset
for help on using the changeset viewer.