Changeset 6233 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Symbols/Symbol.cs
- Timestamp:
- 05/19/11 13:52:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Symbols/Symbol.cs
r5809 r6233 43 43 } 44 44 public override bool CanChangeName { 45 get { return false; }45 get { return !(this is IReadOnlySymbol); } 46 46 } 47 47 public override bool CanChangeDescription { … … 56 56 initialFrequency = original.initialFrequency; 57 57 } 58 protected Symbol()59 : base() {60 initialFrequency = 1.0;61 }62 58 63 59 protected Symbol(string name, string description) … … 65 61 initialFrequency = 1.0; 66 62 } 67 68 63 69 64 public virtual ISymbolicExpressionTreeNode CreateTreeNode() {
Note: See TracChangeset
for help on using the changeset viewer.