Last change
on this file since 14513 was
14513,
checked in by pkimmesw, 7 years ago
|
#2665 Added Problem.ProgramSynthesis Project, Fixed Expression Issues, Fixed Code Generation
|
File size:
334 bytes
|
Line | |
---|
1 | namespace HeuristicLab.Algorithms.PushGP.Expressions {
|
---|
2 | public abstract class StatefullExpression<T> : Expression {
|
---|
3 | protected T State { get; set; }
|
---|
4 |
|
---|
5 | protected StatefullExpression(T state) {
|
---|
6 | this.State = state;
|
---|
7 | }
|
---|
8 |
|
---|
9 | public override string ToString() {
|
---|
10 | return this.State.ToString();
|
---|
11 | }
|
---|
12 | }
|
---|
13 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.