Changeset 15017 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/SwapExpressions.cs
- Timestamp:
- 06/01/17 09:28:34 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/SwapExpressions.cs
r14952 r15017 88 88 89 89 [StorableClass] 90 [PushExpression(StackTypes.Exec, "EXEC.SWAP" )]90 [PushExpression(StackTypes.Exec, "EXEC.SWAP", execIn: 2)] 91 91 public class ExecSwapExpression : SwapExpression<Expression> { 92 92 public ExecSwapExpression() { } … … 153 153 [StorableClass] 154 154 [PushExpression(StackTypes.IntegerVector, "INTEGER[].SWAP")] 155 public class IntegerVectorSwapExpression : SwapExpression< List<long>> {155 public class IntegerVectorSwapExpression : SwapExpression<IReadOnlyList<long>> { 156 156 public IntegerVectorSwapExpression() { } 157 157 [StorableConstructor] … … 169 169 [StorableClass] 170 170 [PushExpression(StackTypes.FloatVector, "FLOAT[].SWAP")] 171 public class FloatVectorSwapExpression : SwapExpression< List<double>> {171 public class FloatVectorSwapExpression : SwapExpression<IReadOnlyList<double>> { 172 172 public FloatVectorSwapExpression() { } 173 173 [StorableConstructor] … … 185 185 [StorableClass] 186 186 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].SWAP")] 187 public class BooleanVectorSwapExpression : SwapExpression< List<bool>> {187 public class BooleanVectorSwapExpression : SwapExpression<IReadOnlyList<bool>> { 188 188 public BooleanVectorSwapExpression() { } 189 189 [StorableConstructor] … … 201 201 [StorableClass] 202 202 [PushExpression(StackTypes.StringVector, "STRING[].SWAP")] 203 public class StringVectorSwapExpression : SwapExpression< List<string>> {203 public class StringVectorSwapExpression : SwapExpression<IReadOnlyList<string>> { 204 204 public StringVectorSwapExpression() { } 205 205 [StorableConstructor]
Note: See TracChangeset
for help on using the changeset viewer.