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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Core;
|
---|
6 |
|
---|
7 | namespace 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.