Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.Algorithms.PushGP/HeuristicLab.Algorithms.PushGP/Data/Tree/ExpressionNode.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: 543 bytes
Line 
1namespace HeuristicLab.Algorithms.PushGP.Data {
2  using System.Collections.Generic;
3
4  using HeuristicLab.Algorithms.PushGP.Expressions;
5
6  public class ExpressionNode {
7    public ExpressionNode(Expression expression) {
8      this.Expression = expression;
9    }
10
11    public Expression Expression { get; set; }
12    public IList<ExpressionNode> Children { get; set; }
13
14    public static ExpressionNode CreateNode(Expression expression) {
15      var node = new ExpressionNode(expression);
16
17
18
19      return node;
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.