Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/01/17 09:28:34 (7 years ago)
Author:
pkimmesw
Message:

#2665 Fixed Benchmark Problem Definition, Converted LoopExpressions to stateless expressions, Added several unit test to ensure funcionality, Fixed UI bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/SwapExpressions.cs

    r14952 r15017  
    8888
    8989  [StorableClass]
    90   [PushExpression(StackTypes.Exec, "EXEC.SWAP")]
     90  [PushExpression(StackTypes.Exec, "EXEC.SWAP", execIn: 2)]
    9191  public class ExecSwapExpression : SwapExpression<Expression> {
    9292    public ExecSwapExpression() { }
     
    153153  [StorableClass]
    154154  [PushExpression(StackTypes.IntegerVector, "INTEGER[].SWAP")]
    155   public class IntegerVectorSwapExpression : SwapExpression<List<long>> {
     155  public class IntegerVectorSwapExpression : SwapExpression<IReadOnlyList<long>> {
    156156    public IntegerVectorSwapExpression() { }
    157157    [StorableConstructor]
     
    169169  [StorableClass]
    170170  [PushExpression(StackTypes.FloatVector, "FLOAT[].SWAP")]
    171   public class FloatVectorSwapExpression : SwapExpression<List<double>> {
     171  public class FloatVectorSwapExpression : SwapExpression<IReadOnlyList<double>> {
    172172    public FloatVectorSwapExpression() { }
    173173    [StorableConstructor]
     
    185185  [StorableClass]
    186186  [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].SWAP")]
    187   public class BooleanVectorSwapExpression : SwapExpression<List<bool>> {
     187  public class BooleanVectorSwapExpression : SwapExpression<IReadOnlyList<bool>> {
    188188    public BooleanVectorSwapExpression() { }
    189189    [StorableConstructor]
     
    201201  [StorableClass]
    202202  [PushExpression(StackTypes.StringVector, "STRING[].SWAP")]
    203   public class StringVectorSwapExpression : SwapExpression<List<string>> {
     203  public class StringVectorSwapExpression : SwapExpression<IReadOnlyList<string>> {
    204204    public StringVectorSwapExpression() { }
    205205    [StorableConstructor]
Note: See TracChangeset for help on using the changeset viewer.