Last change
on this file since 10204 was
9565,
checked in by melkaref, 12 years ago
|
Robocode Plugin code without Mutation Operators
|
File size:
1.0 KB
|
Rev | Line | |
---|
[9565] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
| 3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 4 |
|
---|
| 5 | namespace HeuristicLab.Problems.Robocode
|
---|
| 6 | {
|
---|
| 7 | /*[StorableClass]
|
---|
| 8 | public class Independent : Symbol
|
---|
| 9 | {
|
---|
| 10 | public override int MinimumArity { get { return 0; } }
|
---|
| 11 | public override int MaximumArity { get { return 0; } }
|
---|
| 12 |
|
---|
| 13 | [StorableConstructor]
|
---|
| 14 | private Independent(bool deserializing) : base(deserializing) { }
|
---|
| 15 | private Independent(Independent original, Cloner cloner)
|
---|
| 16 | : base(original, cloner)
|
---|
| 17 | {
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public Independent()
|
---|
| 21 | : base("Independent", "A random fixed integer.")
|
---|
| 22 | {
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | public override ISymbolicExpressionTreeNode CreateTreeNode()
|
---|
| 26 | {
|
---|
| 27 | return new BooleanTreeNode();
|
---|
| 28 | }
|
---|
| 29 | public override IDeepCloneable Clone(Cloner cloner)
|
---|
| 30 | {
|
---|
| 31 | return new Independent(this, cloner);
|
---|
| 32 | }
|
---|
| 33 | }*/
|
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.