Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/20 16:23:01 (4 years ago)
Author:
abeham
Message:

#2521: worked on scheduling problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs

    r17317 r17461  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using System.Drawing;
     25using System.Linq;
    2426using HEAL.Attic;
    2527using HeuristicLab.Collections;
     
    168170    #endregion
    169171
     172    public void Populate(IEnumerable<IItem> items) {
     173      ValidValues.Clear();
     174      ValidValues.UnionWith(items.OfType<T>());
     175    }
     176
    170177    [StorableHook(HookType.AfterDeserialization)]
    171178    private void AfterDeserialization() {
Note: See TracChangeset for help on using the changeset viewer.