Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.1/sources/HeuristicLab.SimOpt/SubScopesRemover.cs @ 588

Last change on this file since 588 was 583, checked in by abeham, 16 years ago

Adding communication framework to branch 3.1 (ticket #278)

File size: 396 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Core;
6
7namespace HeuristicLab.SimOpt {
8  public class SubScopesRemover : OperatorBase {
9    public override IOperation Apply(IScope scope) {
10      while (scope.SubScopes.Count > 0) {
11        scope.RemoveSubScope(scope.SubScopes[0]);
12      }
13      return null;
14    }
15  }
16}
Note: See TracBrowser for help on using the repository browser.