- Timestamp:
- 07/06/10 11:59:50 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Symbols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Symbols/ReadOnlySymbol.cs
r3993 r3997 34 34 [Item("ReadOnlySymbol", "Represents a symbol in a symbolic function tree that cannot be modified.")] 35 35 public abstract class ReadOnlySymbol : Symbol { 36 #region Properties37 [Storable]38 private double initialFrequency;39 public double InitialFrequency {40 get { return initialFrequency; }41 set { throw new NotSupportedException(); }42 }43 #endregion36 //#region Properties 37 //[Storable] 38 //private double initialFrequency; 39 //public double InitialFrequency { 40 // get { return initialFrequency; } 41 // set { throw new NotSupportedException(); } 42 //} 43 //#endregion 44 44 45 45 public override bool CanChangeName { -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Symbols/StartSymbol.cs
r3824 r3997 25 25 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols { 26 26 [StorableClass] 27 [Item( "StartSymbol", "Special symbol that represents the starting node of the result producing branch of a symbolic expression tree.")]27 [Item(StartSymbol.StartSymbolName, StartSymbol.StartSymbolDescription)] 28 28 public sealed class StartSymbol : ReadOnlySymbol { 29 public const string StartSymbolName = "StartSymbol"; 30 public const string StartSymbolDescription = "Special symbol that represents the starting node of the result producing branch of a symbolic expression tree."; 31 32 public StartSymbol() : base(StartSymbol.StartSymbolName, StartSymbol.StartSymbolDescription) { } 33 [StorableConstructor] 34 private StartSymbol(bool deserializing) : base(deserializing) { } 29 35 30 36 public override SymbolicExpressionTreeNode CreateTreeNode() {
Note: See TracChangeset
for help on using the changeset viewer.