Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/11 15:36:30 (13 years ago)
Author:
epitzer
Message:

Prepare for parallel external evaluation (#1516)
~ move cache to problem for better visibility
+ configurable persistence of cache Content
+ proper synchronization for parallel access to cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs

    r5809 r6183  
    8686      get { return (ValueParameter<ItemList<IOperator>>)Parameters["Operators"]; }
    8787    }
     88    public OptionalValueParameter<EvaluationCache> CacheParameter {
     89      get { return (OptionalValueParameter<EvaluationCache>)Parameters["Cache"]; }
     90    }
    8891    #endregion
    8992
     
    148151      Parameters.Add(new OptionalValueParameter<IScope>("BestKnownSolution", "The best known solution for this external evaluation problem."));
    149152      Parameters.Add(new ValueParameter<ItemList<IOperator>>("Operators", "The operators that are passed to the algorithm.", new ItemList<IOperator>()));
     153      Parameters.Add(new OptionalValueParameter<EvaluationCache>("Cache", "Cache of previously evaluated solutions."));
    150154
    151155      InitializeOperators();
Note: See TracChangeset for help on using the changeset viewer.