Rev | Line | |
---|
[9565] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
| 3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 4 |
|
---|
[9630] | 5 | namespace HeuristicLab.Problems.Robocode {
|
---|
| 6 | [StorableClass]
|
---|
| 7 | public abstract class CodeNode : Symbol {
|
---|
| 8 | public abstract string Prefix { get; set; }
|
---|
| 9 | public abstract string Suffix { get; set; }
|
---|
[9565] | 10 |
|
---|
[9630] | 11 | [StorableConstructor]
|
---|
| 12 | protected CodeNode(bool deserializing) : base(deserializing) { }
|
---|
| 13 | protected CodeNode(CodeNode original, Cloner cloner)
|
---|
| 14 | : base(original, cloner) {
|
---|
| 15 | this.Prefix = original.Prefix;
|
---|
| 16 | this.Suffix = original.Suffix;
|
---|
| 17 | }
|
---|
| 18 | protected CodeNode(string name, string description)
|
---|
| 19 | : base(name, description) {
|
---|
| 20 | }
|
---|
[9565] | 21 |
|
---|
[9630] | 22 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
| 23 | throw new System.NotImplementedException();
|
---|
| 24 | }
|
---|
[9565] | 25 |
|
---|
[9630] | 26 | public override int MaximumArity {
|
---|
| 27 | get { throw new System.NotImplementedException(); }
|
---|
| 28 | }
|
---|
[9565] | 29 |
|
---|
[9630] | 30 | public override int MinimumArity {
|
---|
| 31 | get { throw new System.NotImplementedException(); }
|
---|
| 32 | }
|
---|
[9565] | 33 |
|
---|
[9630] | 34 | public abstract string Interpret(ISymbolicExpressionTreeNode node, System.Collections.Generic.IEnumerable<ISymbolicExpressionTreeNode> children);
|
---|
| 35 | }
|
---|
[9565] | 36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.