1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Problems.PushGP.ProgramSynthesis {
|
---|
5 | using System.Drawing;
|
---|
6 |
|
---|
7 | using HeuristicLab.Algorithms.PushGP.Expressions;
|
---|
8 | using HeuristicLab.Common;
|
---|
9 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
10 |
|
---|
11 | public class PushProgram : ExecExpandExpression, ISymbolicExpressionTree {
|
---|
12 | public PushProgram(Expression[] state)
|
---|
13 | : base(state) {
|
---|
14 | }
|
---|
15 |
|
---|
16 | public PushProgram(ExecExpandExpression origin)
|
---|
17 | : base(origin) {
|
---|
18 | }
|
---|
19 |
|
---|
20 | public object Clone() {
|
---|
21 | throw new NotImplementedException();
|
---|
22 | }
|
---|
23 |
|
---|
24 | public IDeepCloneable Clone(Cloner cloner) {
|
---|
25 | throw new NotImplementedException();
|
---|
26 | }
|
---|
27 |
|
---|
28 | public string ItemName { get; private set; }
|
---|
29 |
|
---|
30 | public string ItemDescription { get; private set; }
|
---|
31 |
|
---|
32 | public Version ItemVersion { get; private set; }
|
---|
33 |
|
---|
34 | public Image ItemImage { get; private set; }
|
---|
35 |
|
---|
36 | public event EventHandler ItemImageChanged;
|
---|
37 |
|
---|
38 | public event EventHandler ToStringChanged;
|
---|
39 |
|
---|
40 | public IEnumerable<ISymbolicExpressionTreeNode> IterateNodesBreadth() {
|
---|
41 | throw new NotImplementedException();
|
---|
42 | }
|
---|
43 |
|
---|
44 | public IEnumerable<ISymbolicExpressionTreeNode> IterateNodesPrefix() {
|
---|
45 | throw new NotImplementedException();
|
---|
46 | }
|
---|
47 |
|
---|
48 | public IEnumerable<ISymbolicExpressionTreeNode> IterateNodesPostfix() {
|
---|
49 | throw new NotImplementedException();
|
---|
50 | }
|
---|
51 |
|
---|
52 | public ISymbolicExpressionTreeNode Root { get; set; }
|
---|
53 |
|
---|
54 | public int Length { get { return this.State.Length; } }
|
---|
55 |
|
---|
56 | public new int Depth { get { return base.Depth; } }
|
---|
57 | }
|
---|
58 | }
|
---|