Free cookie consent management tool by TermsFeed Policy Generator

Changeset 493


Ignore:
Timestamp:
08/11/08 13:32:18 (16 years ago)
Author:
gkronber
Message:

also patch operator links in local variables (when they are not part of any (reachable) operator graph) (ticket #211)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/RunScheduler.cs

    r420 r493  
    134134        return op;
    135135      }
     136      foreach(VariableInfo varInfo in op.VariableInfos) {
     137        IVariable var = op.GetVariable(varInfo.ActualName);
     138        if(var != null && var.Value is IOperatorGraph) {
     139          PatchLinks((IOperatorGraph)var.Value, patchedOperators);
     140        } else if(var != null && var.Value is IOperator) {
     141          PatchLinks((IOperator)var.Value, patchedOperators);
     142        }
     143      }
    136144      return op;
    137145    }
Note: See TracChangeset for help on using the changeset viewer.