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/Attributes/PushExpressionAttriubte.cs

    r14952 r15017  
    1010    public readonly string ExpressionName;
    1111    public readonly bool ManipulatesExec;
     12    public readonly uint ExecIn;
    1213
    13     public PushExpressionAttribute(StackTypes stackType, string expressionName, StackTypes additionalStackDependencies = default(StackTypes)) {
     14    /// <summary>
     15    /// Determines if the expression is visible to the user during the configuration phase for example.
     16    /// </summary>
     17    public readonly bool IsHidden;
     18
     19    public PushExpressionAttribute(
     20      StackTypes stackType,
     21      string expressionName,
     22      StackTypes additionalStackDependencies = default(StackTypes),
     23      uint execIn = 0,
     24      bool isHidden = false) {
    1425      StackType = stackType;
    1526      AdditionalStackDependencies = additionalStackDependencies;
    1627      ExpressionName = expressionName;
     28      ExecIn = execIn;
     29      IsHidden = isHidden;
    1730      ManipulatesExec = stackType == StackTypes.Exec || AdditionalStackDependencies.HasFlag(StackTypes.Exec);
    1831    }
Note: See TracChangeset for help on using the changeset viewer.