Changeset 403 for trunk/sources/HeuristicLab.CEDMA.Server/RunScheduler.cs
- Timestamp:
- 07/29/08 18:05:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/RunScheduler.cs
r398 r403 28 28 using HeuristicLab.Core; 29 29 using System.Threading; 30 using HeuristicLab.CEDMA.Core;31 30 using HeuristicLab.Grid; 32 31 using System.Diagnostics; … … 69 68 } 70 69 foreach(AgentEntry entry in agents) { 71 Agent agent = (Agent)DbPersistenceManager.Restore(entry.RawData);72 IOperatorGraph opGraph = agent.OperatorGraph;73 70 Scope scope = new Scope(); 74 71 // initialize CEDMA variables for the execution of the agent 75 72 scope.AddVariable(new Variable("AgentId", new IntData((int)entry.Id))); 76 73 scope.AddVariable(new Variable("CedmaServerUri", new StringData(serverUri))); 74 IOperatorGraph opGraph = (IOperatorGraph)PersistenceManager.RestoreFromGZip(entry.RawData); 77 75 AtomicOperation op = new AtomicOperation(opGraph.InitialOperator, scope); 78 76 WaitHandle wHandle;
Note: See TracChangeset
for help on using the changeset viewer.