Changeset 12319 for branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Grammars
- Timestamp:
- 04/16/15 11:05:23 (10 years ago)
- Location:
- branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Grammars
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Grammars/SymbolicExpressionGrammarBase.cs
r12012 r12319 308 308 } 309 309 public virtual IEnumerable<ISymbol> AllowedSymbols { 310 get { foreach (var s in Symbols) if (s.Enabled) yield return s; }310 get { return Symbols.Where(s => s.Enabled); } 311 311 } 312 312 public virtual bool ContainsSymbol(ISymbol symbol) { … … 510 510 if (suppressEvents) return; 511 511 var handler = Changed; 512 if (handler != null) Changed(this, EventArgs.Empty);512 if (handler != null) handler(this, EventArgs.Empty); 513 513 } 514 514 }
Note: See TracChangeset
for help on using the changeset viewer.