Changeset 14777 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Attributes
- Timestamp:
- 03/23/17 01:11:18 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Attributes/PushExpressionAttriubte.cs
r14727 r14777 6 6 [AttributeUsage(AttributeTargets.Class)] 7 7 public class PushExpressionAttribute : Attribute { 8 public readonly StackType StackType; 8 public readonly StackTypes StackTypes; 9 public readonly StackTypes AdditionalStackDependencies; 9 10 public readonly string ExpressionName; 10 11 11 public PushExpressionAttribute(StackType stackType, string expressionName) { 12 this.StackType = stackType; 12 public PushExpressionAttribute(StackTypes stackTypes, string expressionName, StackTypes additionalStackDependencies = default(StackTypes)) { 13 this.StackTypes = stackTypes; 14 this.AdditionalStackDependencies = additionalStackDependencies; 13 15 this.ExpressionName = expressionName; 14 16 }
Note: See TracChangeset
for help on using the changeset viewer.