Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/09 15:18:29 (15 years ago)
Author:
gkronber
Message:

Refactoring: changed CEDMA backend to use a single data set per RDF results database. #656 (CEDMA server should handle only one data set (problem) at a time)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs

    r1529 r2000  
    6868    private Dictionary<string, Dictionary<object, double>> categoricalValueIndices = new Dictionary<string, Dictionary<object, double>>();
    6969
    70     private Entity dataSetEntity;
    71 
    7270    public Results(IStore store) {
    7371      this.store = store;
    74     }
    75 
    76     internal void FilterDataSet(Entity entity) {
    77       this.dataSetEntity = entity;
    7872    }
    7973
     
    9387      entries = new List<ResultsEntry>();
    9488      do {
    95         var allBindings = store.Query("<" + dataSetEntity + "> <" + Ontology.PredicateHasModel + "> ?Model ." + Environment.NewLine +
     89        var allBindings = store.Query("?Dataset <" + Ontology.PredicateHasModel + "> ?Model ." + Environment.NewLine +
    9690          "?Model ?Attribute ?Value .", page, PAGE_SIZE);
    9791        var allModelBindings = allBindings.GroupBy(x => (Entity)x.Get("Model"));
Note: See TracChangeset for help on using the changeset viewer.