Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/31/09 12:11:41 (15 years ago)
Author:
mkommend
Message:

first part of performance improvements (ticket #712)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs

    r2208 r2217  
    8585
    8686    private IEnumerable<ResultsEntry> SelectRows() {
     87      database.GetAllModelResults();
    8788      entries = new List<ResultsEntry>();
    8889      foreach (var model in database.GetAllModels()) {
     
    9192          modelEntry.Set(modelResult.Result.Name, modelResult.Value);
    9293        }
    93         modelEntry.Set("PersistedData", model.Data);
     94        modelEntry.Set("PersistedData", database.GetModelData(model));
    9495        modelEntry.Set("TargetVariable", model.TargetVariable.Name);
    9596        Dictionary<HeuristicLab.Modeling.Database.IVariable, ResultsEntry> inputVariableResultsEntries =
     
    100101            inputVariableResultsEntries[inputVariableResult.Variable] = new ResultsEntry();
    101102            inputVariableResultsEntries[inputVariableResult.Variable].Set("InputVariableName", inputVariableResult.Variable.Name);
    102             }
    103            inputVariableResultsEntries[inputVariableResult.Variable].Set(inputVariableResult.Result.Name, inputVariableResult.Value);
     103          }
     104          inputVariableResultsEntries[inputVariableResult.Variable].Set(inputVariableResult.Result.Name, inputVariableResult.Value);
    104105        }
    105106        modelEntry.Set("VariableImpacts", inputVariableResultsEntries.Values);
Note: See TracChangeset for help on using the changeset viewer.