Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Expressions/StatefullExpression.cs @ 14513

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 
1namespace 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.