Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/06/21 16:13:37 (3 years ago)
Author:
mkommend
Message:

#2997: Simplified tree creator interface and removed cloning of grammars,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Grammars/SymbolicExpressionGrammar.cs

    r17180 r18064  
    191191    public event EventHandler ReadOnlyChanged;
    192192    protected virtual void OnReadOnlyChanged() {
    193       var handler = ReadOnlyChanged;
    194       if (handler != null)
    195         handler(this, EventArgs.Empty);
    196     }
    197 
    198     #region IStatefulItem methods
    199     void IStatefulItem.InitializeState() {
    200       ReadOnly = false;
    201     }
    202     void IStatefulItem.ClearState() {
    203       ReadOnly = false;
    204     }
    205     #endregion
     193      ReadOnlyChanged?.Invoke(this, EventArgs.Empty);
     194    }
    206195
    207196    public sealed override void AddAllowedChildSymbol(ISymbol parent, ISymbol child) {
Note: See TracChangeset for help on using the changeset viewer.