Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/MultiObjective
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/MultiObjective/ParetoFrontAnalyzer.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Analysis {
    3131  [Item("ParetoFrontAnalyzer", "Analyzer for multiobjective problems that collects and presents the current Pareto front as double matrix as well as the solution scopes that lie on the current front.")]
    32   [StorableClass]
     32  [StorableType("972CEB70-3D0D-4602-97B1-B02DC7FBD9E8")]
    3333  public abstract class ParetoFrontAnalyzer : SingleSuccessorOperator, IAnalyzer, IMultiObjectiveOperator {
    3434    public virtual bool EnabledByDefault {
     
    4444
    4545    [StorableConstructor]
    46     protected ParetoFrontAnalyzer(bool deserializing) : base(deserializing) { }
     46    protected ParetoFrontAnalyzer(StorableConstructorFlag _) : base(_) { }
    4747    protected ParetoFrontAnalyzer(ParetoFrontAnalyzer original, Cloner cloner) : base(original, cloner) { }
    4848    public ParetoFrontAnalyzer() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/MultiObjective/RankBasedParetoFrontAnalyzer.cs

    r16453 r16462  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Fossil;
    3030
    3131namespace HeuristicLab.Analysis {
    3232  [Item("RankBasedParetoFrontAnalyzer", "Uses the rank value that is computed by e.g. the NSGA2's fast non dominated sort operator to collect all solutions and their qualities of front 0 (the current Pareto front).")]
    33   [StorableClass]
     33  [StorableType("9F314FB6-6BA2-4CC8-843B-B68CF01F7BE7")]
    3434  public class RankBasedParetoFrontAnalyzer : ParetoFrontAnalyzer {
    3535    public IScopeTreeLookupParameter<IntValue> RankParameter {
     
    3838
    3939    [StorableConstructor]
    40     protected RankBasedParetoFrontAnalyzer(bool deserializing) : base(deserializing) { }
     40    protected RankBasedParetoFrontAnalyzer(StorableConstructorFlag _) : base(_) { }
    4141    protected RankBasedParetoFrontAnalyzer(RankBasedParetoFrontAnalyzer original, Cloner cloner) : base(original, cloner) { }
    4242    public RankBasedParetoFrontAnalyzer() {
Note: See TracChangeset for help on using the changeset viewer.