Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 10:31:40 (15 years ago)
Author:
gkronber
Message:

Copied refactored plugin infrastructure from branch and merged changeset r2586:2589 from branch into the trunk. #799

File:
1 edited

Legend:

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

    r2566 r2591  
    117117      finishedAndDispatchedRuns = new Dictionary<string, List<AlgorithmConfiguration>>();
    118118
    119       DiscoveryService ds = new DiscoveryService();
    120       defaultAlgorithms = ds.GetInstances<HeuristicLab.Modeling.IAlgorithm>();
     119     
     120      defaultAlgorithms = ApplicationManager.Manager.GetInstances<HeuristicLab.Modeling.IAlgorithm>().ToArray();
    121121
    122122      // PopulateFinishedRuns();
     
    208208
    209209    private IOperator SelectRandomFunctionLibrary() {
    210       DiscoveryService ds = new DiscoveryService();
    211       var injectors = from injector in ds.GetInstances<FunctionLibraryInjectorBase>()
     210      var injectors = from injector in ApplicationManager.Manager.GetInstances<FunctionLibraryInjectorBase>()
    212211                      where injector.GetType().GetCustomAttributes(typeof(SymbolicRegressionFunctionLibraryInjectorAttribute), true).Count() > 0
    213212                      select injector;
Note: See TracChangeset for help on using the changeset viewer.