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