Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs @ 3654

Last change on this file since 3654 was 3650, checked in by abeham, 14 years ago

#999

  • ported Island GA to Analyzers
  • ported OSGA to Analyzers
  • changed OSGA to use OSGA's main operator
File size: 22.4 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Collections.Generic;
24using System.Linq;
25using HeuristicLab.Analysis;
26using HeuristicLab.Core;
27using HeuristicLab.Data;
28using HeuristicLab.Optimization;
29using HeuristicLab.Optimization.Operators;
30using HeuristicLab.Parameters;
31using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
32using HeuristicLab.PluginInfrastructure;
33using HeuristicLab.Random;
34using HeuristicLab.Common;
35
36namespace HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm {
37  /// <summary>
38  /// An offspring selection genetic algorithm.
39  /// </summary>
40  [Item("Offspring Selection Genetic Algorithm", "An offspring selection genetic algorithm (Affenzeller, M. et al. 2009. Genetic Algorithms and Genetic Programming - Modern Concepts and Practical Applications. CRC Press).")]
41  [Creatable("Algorithms")]
42  [StorableClass]
43  public sealed class OffspringSelectionGeneticAlgorithm : EngineAlgorithm {
44    #region Problem Properties
45    public override Type ProblemType {
46      get { return typeof(ISingleObjectiveProblem); }
47    }
48    public new ISingleObjectiveProblem Problem {
49      get { return (ISingleObjectiveProblem)base.Problem; }
50      set { base.Problem = value; }
51    }
52    #endregion
53
54    #region Parameter Properties
55    private ValueParameter<IntValue> SeedParameter {
56      get { return (ValueParameter<IntValue>)Parameters["Seed"]; }
57    }
58    private ValueParameter<BoolValue> SetSeedRandomlyParameter {
59      get { return (ValueParameter<BoolValue>)Parameters["SetSeedRandomly"]; }
60    }
61    private ValueParameter<IntValue> PopulationSizeParameter {
62      get { return (ValueParameter<IntValue>)Parameters["PopulationSize"]; }
63    }
64    private ConstrainedValueParameter<ISelector> SelectorParameter {
65      get { return (ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }
66    }
67    private ConstrainedValueParameter<ICrossover> CrossoverParameter {
68      get { return (ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }
69    }
70    private ValueParameter<PercentValue> MutationProbabilityParameter {
71      get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; }
72    }
73    private OptionalConstrainedValueParameter<IManipulator> MutatorParameter {
74      get { return (OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
75    }
76    private ValueParameter<IntValue> ElitesParameter {
77      get { return (ValueParameter<IntValue>)Parameters["Elites"]; }
78    }
79    private ValueParameter<IntValue> MaximumGenerationsParameter {
80      get { return (ValueParameter<IntValue>)Parameters["MaximumGenerations"]; }
81    }
82    private ValueLookupParameter<DoubleValue> SuccessRatioParameter {
83      get { return (ValueLookupParameter<DoubleValue>)Parameters["SuccessRatio"]; }
84    }
85    private ValueLookupParameter<DoubleValue> ComparisonFactorLowerBoundParameter {
86      get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorLowerBound"]; }
87    }
88    private ValueLookupParameter<DoubleValue> ComparisonFactorUpperBoundParameter {
89      get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorUpperBound"]; }
90    }
91    private OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter {
92      get { return (OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; }
93    }
94    private ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
95      get { return (ValueLookupParameter<DoubleValue>)Parameters["MaximumSelectionPressure"]; }
96    }
97    private ValueLookupParameter<BoolValue> OffspringSelectionBeforeMutationParameter {
98      get { return (ValueLookupParameter<BoolValue>)Parameters["OffspringSelectionBeforeMutation"]; }
99    }
100    private ValueLookupParameter<IntValue> SelectedParentsParameter {
101      get { return (ValueLookupParameter<IntValue>)Parameters["SelectedParents"]; }
102    }
103    private ValueParameter<MultiAnalyzer<IPopulationAnalyzer>> AnalyzerParameter {
104      get { return (ValueParameter<MultiAnalyzer<IPopulationAnalyzer>>)Parameters["Analyzer"]; }
105    }
106    #endregion
107
108    #region Properties
109    public IntValue Seed {
110      get { return SeedParameter.Value; }
111      set { SeedParameter.Value = value; }
112    }
113    public BoolValue SetSeedRandomly {
114      get { return SetSeedRandomlyParameter.Value; }
115      set { SetSeedRandomlyParameter.Value = value; }
116    }
117    public IntValue PopulationSize {
118      get { return PopulationSizeParameter.Value; }
119      set { PopulationSizeParameter.Value = value; }
120    }
121    public ISelector Selector {
122      get { return SelectorParameter.Value; }
123      set { SelectorParameter.Value = value; }
124    }
125    public ICrossover Crossover {
126      get { return CrossoverParameter.Value; }
127      set { CrossoverParameter.Value = value; }
128    }
129    public PercentValue MutationProbability {
130      get { return MutationProbabilityParameter.Value; }
131      set { MutationProbabilityParameter.Value = value; }
132    }
133    public IManipulator Mutator {
134      get { return MutatorParameter.Value; }
135      set { MutatorParameter.Value = value; }
136    }
137    public IntValue Elites {
138      get { return ElitesParameter.Value; }
139      set { ElitesParameter.Value = value; }
140    }
141    public IntValue MaximumGenerations {
142      get { return MaximumGenerationsParameter.Value; }
143      set { MaximumGenerationsParameter.Value = value; }
144    }
145    public DoubleValue SuccessRatio {
146      get { return SuccessRatioParameter.Value; }
147      set { SuccessRatioParameter.Value = value; }
148    }
149    public DoubleValue ComparisonFactorLowerBound {
150      get { return ComparisonFactorLowerBoundParameter.Value; }
151      set { ComparisonFactorLowerBoundParameter.Value = value; }
152    }
153    public DoubleValue ComparisonFactorUpperBound {
154      get { return ComparisonFactorUpperBoundParameter.Value; }
155      set { ComparisonFactorUpperBoundParameter.Value = value; }
156    }
157    public IDiscreteDoubleValueModifier ComparisonFactorModifier {
158      get { return ComparisonFactorModifierParameter.Value; }
159      set { ComparisonFactorModifierParameter.Value = value; }
160    }
161    public DoubleValue MaximumSelectionPressure {
162      get { return MaximumSelectionPressureParameter.Value; }
163      set { MaximumSelectionPressureParameter.Value = value; }
164    }
165    public BoolValue OffspringSelectionBeforeMutation {
166      get { return OffspringSelectionBeforeMutationParameter.Value; }
167      set { OffspringSelectionBeforeMutationParameter.Value = value; }
168    }
169    public IntValue SelectedParents {
170      get { return SelectedParentsParameter.Value; }
171      set { SelectedParentsParameter.Value = value; }
172    }
173    public MultiAnalyzer<IPopulationAnalyzer> Analyzer {
174      get { return AnalyzerParameter.Value; }
175      set { AnalyzerParameter.Value = value; }
176    }
177    private RandomCreator RandomCreator {
178      get { return (RandomCreator)OperatorGraph.InitialOperator; }
179    }
180    private SolutionsCreator SolutionsCreator {
181      get { return (SolutionsCreator)RandomCreator.Successor; }
182    }
183    private OffspringSelectionGeneticAlgorithmMainLoop MainLoop {
184      get { return (OffspringSelectionGeneticAlgorithmMainLoop)SolutionsCreator.Successor; }
185    }
186    private List<ISelector> selectors;
187    private IEnumerable<ISelector> Selectors {
188      get { return selectors; }
189    }
190    private List<IDiscreteDoubleValueModifier> comparisonFactorModifiers;
191    #endregion
192
193    [StorableConstructor]
194    private OffspringSelectionGeneticAlgorithm(bool deserializing) : base(deserializing) { }
195    public OffspringSelectionGeneticAlgorithm()
196      : base() {
197      Parameters.Add(new ValueParameter<IntValue>("Seed", "The random seed used to initialize the new pseudo random number generator.", new IntValue(0)));
198      Parameters.Add(new ValueParameter<BoolValue>("SetSeedRandomly", "True if the random seed should be set to a random value, otherwise false.", new BoolValue(true)));
199      Parameters.Add(new ValueParameter<IntValue>("PopulationSize", "The size of the population of solutions.", new IntValue(100)));
200      Parameters.Add(new ConstrainedValueParameter<ISelector>("Selector", "The operator used to select solutions for reproduction."));
201      Parameters.Add(new ConstrainedValueParameter<ICrossover>("Crossover", "The operator used to cross solutions."));
202      Parameters.Add(new ValueParameter<PercentValue>("MutationProbability", "The probability that the mutation operator is applied on a solution.", new PercentValue(0.05)));
203      Parameters.Add(new OptionalConstrainedValueParameter<IManipulator>("Mutator", "The operator used to mutate solutions."));
204      Parameters.Add(new ValueParameter<IntValue>("Elites", "The numer of elite solutions which are kept in each generation.", new IntValue(1)));
205      Parameters.Add(new ValueParameter<IntValue>("MaximumGenerations", "The maximum number of generations which should be processed.", new IntValue(1000)));
206      Parameters.Add(new ValueLookupParameter<DoubleValue>("SuccessRatio", "The ratio of successful to total children that should be achieved.", new DoubleValue(1)));
207      Parameters.Add(new ValueLookupParameter<DoubleValue>("ComparisonFactorLowerBound", "The lower bound of the comparison factor (start).", new DoubleValue(0)));
208      Parameters.Add(new ValueLookupParameter<DoubleValue>("ComparisonFactorUpperBound", "The upper bound of the comparison factor (end).", new DoubleValue(1)));
209      Parameters.Add(new OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>("ComparisonFactorModifier", "The operator used to modify the comparison factor.", new ItemSet<IDiscreteDoubleValueModifier>(new IDiscreteDoubleValueModifier[] { new LinearDiscreteDoubleValueModifier() }), new LinearDiscreteDoubleValueModifier()));
210      Parameters.Add(new ValueLookupParameter<DoubleValue>("MaximumSelectionPressure", "The maximum selection pressure that terminates the algorithm.", new DoubleValue(100)));
211      Parameters.Add(new ValueLookupParameter<BoolValue>("OffspringSelectionBeforeMutation", "True if the offspring selection step should be applied before mutation, false if it should be applied after mutation.", new BoolValue(false)));
212      Parameters.Add(new ValueLookupParameter<IntValue>("SelectedParents", "Should be about 2 * PopulationSize, for large problems use a smaller value to decrease memory footprint.", new IntValue(200)));
213      Parameters.Add(new ValueParameter<MultiAnalyzer<IPopulationAnalyzer>>("Analyzer", "The operator used to analyze each generation.", new MultiAnalyzer<IPopulationAnalyzer>()));
214     
215      RandomCreator randomCreator = new RandomCreator();
216      SolutionsCreator solutionsCreator = new SolutionsCreator();
217      OffspringSelectionGeneticAlgorithmMainLoop mainLoop = new OffspringSelectionGeneticAlgorithmMainLoop();
218      OperatorGraph.InitialOperator = randomCreator;
219
220      randomCreator.RandomParameter.ActualName = "Random";
221      randomCreator.SeedParameter.ActualName = SeedParameter.Name;
222      randomCreator.SeedParameter.Value = null;
223      randomCreator.SetSeedRandomlyParameter.ActualName = SetSeedRandomlyParameter.Name;
224      randomCreator.SetSeedRandomlyParameter.Value = null;
225      randomCreator.Successor = solutionsCreator;
226
227      solutionsCreator.NumberOfSolutionsParameter.ActualName = PopulationSizeParameter.Name;
228      solutionsCreator.Successor = mainLoop;
229
230      mainLoop.SelectorParameter.ActualName = SelectorParameter.Name;
231      mainLoop.CrossoverParameter.ActualName = CrossoverParameter.Name;
232      mainLoop.ElitesParameter.ActualName = ElitesParameter.Name;
233      mainLoop.MaximumGenerationsParameter.ActualName = MaximumGenerationsParameter.Name;
234      mainLoop.MutatorParameter.ActualName = MutatorParameter.Name;
235      mainLoop.MutationProbabilityParameter.ActualName = MutationProbabilityParameter.Name;
236      mainLoop.RandomParameter.ActualName = RandomCreator.RandomParameter.ActualName;
237      mainLoop.ResultsParameter.ActualName = "Results";
238
239      Initialize();
240    }
241
242    public override IDeepCloneable Clone(Cloner cloner) {
243      OffspringSelectionGeneticAlgorithm clone = (OffspringSelectionGeneticAlgorithm)base.Clone(cloner);
244      clone.Initialize();
245      return clone;
246    }
247
248    public override void Prepare() {
249      if (Problem != null) base.Prepare();
250    }
251
252    #region Events
253    protected override void OnProblemChanged() {
254      ParameterizeStochasticOperator(Problem.SolutionCreator);
255      ParameterizeStochasticOperator(Problem.Evaluator);
256      foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
257      ParameterizeSolutionsCreator();
258      ParameterizMainLoop();
259      ParameterizeSelectors();
260      ParameterizeAnalyzers();
261      UpdateCrossovers();
262      UpdateMutators();
263      UpdateAnalyzers();
264      Problem.Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
265      base.OnProblemChanged();
266    }
267
268    protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {
269      ParameterizeStochasticOperator(Problem.SolutionCreator);
270      ParameterizeSolutionsCreator();
271      base.Problem_SolutionCreatorChanged(sender, e);
272    }
273    protected override void Problem_EvaluatorChanged(object sender, EventArgs e) {
274      ParameterizeStochasticOperator(Problem.Evaluator);
275      ParameterizeSolutionsCreator();
276      ParameterizMainLoop();
277      ParameterizeSelectors();
278      ParameterizeAnalyzers();
279      Problem.Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
280      base.Problem_EvaluatorChanged(sender, e);
281    }
282    protected override void Problem_OperatorsChanged(object sender, EventArgs e) {
283      foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
284      UpdateCrossovers();
285      UpdateMutators();
286      UpdateAnalyzers();
287      base.Problem_OperatorsChanged(sender, e);
288    }
289    private void ElitesParameter_ValueChanged(object sender, EventArgs e) {
290      Elites.ValueChanged += new EventHandler(Elites_ValueChanged);
291      ParameterizeSelectors();
292    }
293    private void Elites_ValueChanged(object sender, EventArgs e) {
294      ParameterizeSelectors();
295    }
296    private void PopulationSizeParameter_ValueChanged(object sender, EventArgs e) {
297      PopulationSize.ValueChanged += new EventHandler(PopulationSize_ValueChanged);
298      ParameterizeSelectors();
299    }
300    private void PopulationSize_ValueChanged(object sender, EventArgs e) {
301      ParameterizeSelectors();
302    }
303    private void Evaluator_QualityParameter_ActualNameChanged(object sender, EventArgs e) {
304      ParameterizMainLoop();
305      ParameterizeSelectors();
306      ParameterizeAnalyzers();
307    }
308    #endregion
309
310    #region Helpers
311    [StorableHook(HookType.AfterDeserialization)]
312    private void Initialize() {
313      InitializeSelectors();
314      InitializeAnalyzers();
315      UpdateSelectors();
316      UpdateAnalyzers();
317      InitializeComparisonFactorModifiers();
318      UpdateComparisonFactorModifiers();
319      PopulationSizeParameter.ValueChanged += new EventHandler(PopulationSizeParameter_ValueChanged);
320      PopulationSize.ValueChanged += new EventHandler(PopulationSize_ValueChanged);
321      ElitesParameter.ValueChanged += new EventHandler(ElitesParameter_ValueChanged);
322      Elites.ValueChanged += new EventHandler(Elites_ValueChanged);
323      if (Problem != null) {
324        UpdateCrossovers();
325        UpdateMutators();
326        Problem.Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
327      }
328    }
329    private void ParameterizeSolutionsCreator() {
330      SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
331      SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;
332    }
333    private void ParameterizMainLoop() {
334      MainLoop.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
335      MainLoop.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
336      MainLoop.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;
337    }
338    private void ParameterizeStochasticOperator(IOperator op) {
339      if (op is IStochasticOperator)
340        ((IStochasticOperator)op).RandomParameter.ActualName = RandomCreator.RandomParameter.ActualName;
341    }
342    private void InitializeSelectors() {
343      selectors = new List<ISelector>();
344      selectors.AddRange(ApplicationManager.Manager.GetInstances<ISelector>().Where(x => !(x is IMultiObjectiveSelector)).OrderBy(x => x.Name));
345      ParameterizeSelectors();
346    }
347    private void InitializeAnalyzers() {
348      //qualityAnalyzer = new PopulationBestAverageWorstQualityAnalyzer();
349      ParameterizeAnalyzers();
350    }
351    private void InitializeComparisonFactorModifiers() {
352      comparisonFactorModifiers = new List<IDiscreteDoubleValueModifier>();
353      comparisonFactorModifiers.AddRange(ApplicationManager.Manager.GetInstances<IDiscreteDoubleValueModifier>().OrderBy(x => x.Name));
354      ParameterizeComparisonFactorModifiers();
355    }
356    private void ParameterizeSelectors() {
357      foreach (ISelector selector in Selectors) {
358        selector.CopySelected = new BoolValue(true);
359        selector.NumberOfSelectedSubScopesParameter.Value = null;
360        selector.NumberOfSelectedSubScopesParameter.ActualName = SelectedParentsParameter.Name;
361        ParameterizeStochasticOperator(selector);
362      }
363      if (Problem != null) {
364        foreach (ISingleObjectiveSelector selector in Selectors.OfType<ISingleObjectiveSelector>()) {
365          selector.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
366          selector.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;
367        }
368      }
369    }
370    private void ParameterizeAnalyzers() {
371      //qualityAnalyzer.ResultsParameter.ActualName = "Results";
372      if (Problem != null) {
373        //qualityAnalyzer.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
374        //qualityAnalyzer.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;
375        //qualityAnalyzer.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name;
376      }
377    }
378    private void ParameterizeComparisonFactorModifiers() {
379      foreach (IDiscreteDoubleValueModifier modifier in comparisonFactorModifiers) {
380        modifier.IndexParameter.ActualName = "Generations";
381        modifier.EndIndexParameter.ActualName = MaximumGenerationsParameter.Name;
382        modifier.EndValueParameter.ActualName = ComparisonFactorUpperBoundParameter.Name;
383        modifier.StartIndexParameter.Value = new IntValue(0);
384        modifier.StartValueParameter.ActualName = ComparisonFactorLowerBoundParameter.Name;
385        modifier.ValueParameter.ActualName = "ComparisonFactor";
386      }
387    }
388    private void UpdateSelectors() {
389      ISelector oldSelector = SelectorParameter.Value;
390      SelectorParameter.ValidValues.Clear();
391      foreach (ISelector selector in Selectors.OrderBy(x => x.Name))
392        SelectorParameter.ValidValues.Add(selector);
393
394      ISelector proportionalSelector = SelectorParameter.ValidValues.FirstOrDefault(x => x.GetType().Name.Equals("ProportionalSelector"));
395      if (proportionalSelector != null) SelectorParameter.Value = proportionalSelector;
396
397      if (oldSelector != null) {
398        ISelector selector = SelectorParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldSelector.GetType());
399        if (selector != null) SelectorParameter.Value = selector;
400      }
401    }
402    private void UpdateComparisonFactorModifiers() {
403      IDiscreteDoubleValueModifier oldModifier = ComparisonFactorModifier;
404
405      ComparisonFactorModifierParameter.ValidValues.Clear();
406      foreach (IDiscreteDoubleValueModifier modifier in comparisonFactorModifiers)
407        ComparisonFactorModifierParameter.ValidValues.Add(modifier);
408
409      if (oldModifier != null) {
410        IDiscreteDoubleValueModifier mod = ComparisonFactorModifierParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldModifier.GetType());
411        if (mod != null) ComparisonFactorModifierParameter.Value = mod;
412      }
413    }
414    private void UpdateCrossovers() {
415      ICrossover oldCrossover = CrossoverParameter.Value;
416      CrossoverParameter.ValidValues.Clear();
417      foreach (ICrossover crossover in Problem.Operators.OfType<ICrossover>().OrderBy(x => x.Name))
418        CrossoverParameter.ValidValues.Add(crossover);
419      if (oldCrossover != null) {
420        ICrossover crossover = CrossoverParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldCrossover.GetType());
421        if (crossover != null) CrossoverParameter.Value = crossover;
422      }
423    }
424    private void UpdateMutators() {
425      IManipulator oldMutator = MutatorParameter.Value;
426      MutatorParameter.ValidValues.Clear();
427      foreach (IManipulator mutator in Problem.Operators.OfType<IManipulator>().OrderBy(x => x.Name))
428        MutatorParameter.ValidValues.Add(mutator);
429      if (oldMutator != null) {
430        IManipulator mutator = MutatorParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldMutator.GetType());
431        if (mutator != null) MutatorParameter.Value = mutator;
432      }
433    }
434    private void UpdateAnalyzers() {
435      Analyzer.Operators.Clear();
436      //Analyzer.Operators.Add(qualityAnalyzer);
437      if (Problem != null) {
438        foreach (IPopulationAnalyzer analyzer in Problem.Operators.OfType<IPopulationAnalyzer>().OrderBy(x => x.Name))
439          Analyzer.Operators.Add(analyzer);
440      }
441    }
442    #endregion
443  }
444}
Note: See TracBrowser for help on using the repository browser.