Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/20/12 15:02:06 (13 years ago)
Author:
ascheibe
Message:

#1174 removed RandomSeed from Run

Location:
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/HeuristicLab.Services.OKB-3.3.csproj

    r7382 r7385  
    218218      <SubType>Code</SubType>
    219219    </Compile>
    220     <Compile Include="Query\Filters\RunRandomSeedFilter.cs">
    221       <SubType>Code</SubType>
    222     </Compile>
    223220    <Compile Include="Query\Filters\RunUserNameFilter.cs">
    224221      <SubType>Code</SubType>
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Convert.cs

    r7331 r7385  
    2929    public static DT.Run ToDto(DA.Run source, bool includeBinaryValues) {
    3030      if (source == null) return null;
    31       var dto = new DT.Run { Id = source.Id, Algorithm = Convert.ToDto(source.Algorithm), Problem = Convert.ToDto(source.Problem), CreatedDate = source.CreatedDate, RandomSeed = source.RandomSeed, ClientId = source.ClientId, UserId = source.UserId };
     31      var dto = new DT.Run { Id = source.Id, Algorithm = Convert.ToDto(source.Algorithm), Problem = Convert.ToDto(source.Problem), CreatedDate = source.CreatedDate, ClientId = source.ClientId, UserId = source.UserId };
    3232      dto.ParameterValues = source.Values.Where(x => x.ValueName.Category == DA.ValueNameCategory.Parameter).Select(x => Convert.ToDto(x, includeBinaryValues)).ToArray();
    3333      dto.ResultValues = source.Values.Where(x => x.ValueName.Category == DA.ValueNameCategory.Result).Select(x => Convert.ToDto(x, includeBinaryValues)).ToArray();
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Run.cs

    r7331 r7385  
    3434    public Problem Problem { get; set; }
    3535    [DataMember]
    36     public int RandomSeed { get; set; }
    37     [DataMember]
    3836    public DateTime CreatedDate { get; set; }
    3937    [DataMember]
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs

    r7331 r7385  
    3939      using (OKBDataContext okb = new OKBDataContext()) {
    4040        #region Run Filters
    41         filters.Add(new OrdinalComparisonLongFilter(typeof(RunRandomSeedFilter).AssemblyQualifiedName, "Run Random Seed"));
    4241        filters.Add(new OrdinalComparisonDateTimeFilter(typeof(RunCreatedDateFilter).AssemblyQualifiedName, "Run Created Date"));
    4342        filters.Add(new StringComparisonFilter(typeof(RunUserNameFilter).AssemblyQualifiedName, "Run User Name"));
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/RunCreation/Convert.cs

    r7331 r7385  
    5858    public static DA.Run ToEntity(DT.Run source, DA.OKBDataContext okb) {
    5959      if (source == null) return null;
    60       DA.Run entity = new DA.Run { Id = 0, AlgorithmId = source.AlgorithmId, ProblemId = source.ProblemId, RandomSeed = source.RandomSeed, CreatedDate = source.CreatedDate, UserId = source.UserId, ClientId = source.ClientId };
     60      DA.Run entity = new DA.Run { Id = 0, AlgorithmId = source.AlgorithmId, ProblemId = source.ProblemId, CreatedDate = source.CreatedDate, UserId = source.UserId, ClientId = source.ClientId };
    6161      foreach (var value in source.ParameterValues)
    6262        entity.Values.Add(Convert.ToEntity(value, entity, DA.ValueNameCategory.Parameter, okb));
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/RunCreation/DataTransfer/Run.cs

    r7331 r7385  
    3232    public long ProblemId { get; set; }
    3333    [DataMember]
    34     public int RandomSeed { get; set; }
    35     [DataMember]
    3634    public DateTime CreatedDate { get; set; }
    3735    [DataMember]
Note: See TracChangeset for help on using the changeset viewer.