Last change
on this file since 14907 was
14834,
checked in by pkimmesw, 8 years ago
|
#2665 LexicaseSelector, Performance improvements, UI Fixes, Debugger only shows used stacks, fixed Debugger stepping, Added vector expressions, ERCOptions,
|
File size:
709 bytes
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.Problems.ProgramSynthesis.Push.Attributes {
|
---|
4 | using HeuristicLab.Problems.ProgramSynthesis.Push.Stack;
|
---|
5 |
|
---|
6 | [AttributeUsage(AttributeTargets.Class)]
|
---|
7 | public class PushExpressionAttribute : Attribute {
|
---|
8 | public readonly StackTypes StackType;
|
---|
9 | public readonly StackTypes AdditionalStackDependencies;
|
---|
10 | public readonly string ExpressionName;
|
---|
11 |
|
---|
12 | public PushExpressionAttribute(StackTypes stackType, string expressionName, StackTypes additionalStackDependencies = default(StackTypes)) {
|
---|
13 | this.StackType = stackType;
|
---|
14 | this.AdditionalStackDependencies = additionalStackDependencies;
|
---|
15 | this.ExpressionName = expressionName;
|
---|
16 | }
|
---|
17 | }
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.