Changeset 3993 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Symbols/Argument.cs
- Timestamp:
- 07/02/10 11:38:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Symbols/Argument.cs
r3824 r3993 28 28 /// </summary> 29 29 [StorableClass] 30 [Item( "Argument", "Symbol that represents a function argument.")]30 [Item(Argument.ArgumentName, Argument.ArgumentDescription)] 31 31 public sealed class Argument : ReadOnlySymbol { 32 public const string ArgumentName = "Argument"; 33 public const string ArgumentDescription = "Symbol that represents a function argument."; 32 34 [Storable] 33 35 private int argumentIndex; … … 36 38 } 37 39 40 public override bool CanChangeDescription { 41 get { return false; } 42 } 43 44 [StorableConstructor] 38 45 private Argument() : base() { } 39 46 40 47 public Argument(int argumentIndex) 41 : base( ) {48 : base("ARG" + argumentIndex, Argument.ArgumentDescription) { 42 49 this.argumentIndex = argumentIndex; 43 50 this.name = "ARG" + argumentIndex;
Note: See TracChangeset
for help on using the changeset viewer.