Changeset 14952 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Attributes/PushExpressionAttriubte.cs
- Timestamp:
- 05/10/17 11:23:05 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Attributes/PushExpressionAttriubte.cs
r14908 r14952 9 9 public readonly StackTypes AdditionalStackDependencies; 10 10 public readonly string ExpressionName; 11 public readonly bool ManipulatesExec; 11 12 12 13 public PushExpressionAttribute(StackTypes stackType, string expressionName, StackTypes additionalStackDependencies = default(StackTypes)) { … … 14 15 AdditionalStackDependencies = additionalStackDependencies; 15 16 ExpressionName = expressionName; 17 ManipulatesExec = stackType == StackTypes.Exec || AdditionalStackDependencies.HasFlag(StackTypes.Exec); 16 18 } 17 19 }
Note: See TracChangeset
for help on using the changeset viewer.