Package de.fzi.herakles.strategy.component

Examples of de.fzi.herakles.strategy.component.QueryFilter


    AQAQueryFilter filter = new AQAQueryFilter();
    AoideSelector selector = new AoideSelector();
    ReasonerAdapter reasoner = getReasonerByName("AQA");
    selector.setFilter(reasoner, filter);
    reasoner = getReasonerByName("Pellet");
    QueryFilter complementFilter = new ComplementQueryFilter(filter);
    selector.setFilter(reasoner, complementFilter);
    this.selector = selector;
  }
View Full Code Here


    Set<ReasonerAdapter> selection = new HashSet<ReasonerAdapter>();
    Set<ReasonerAdapter> availableReasoners = new HashSet<ReasonerAdapter>();
    availableReasoners.addAll(reasonerPool);
    for(ReasonerAdapter reasoner: availableReasoners){
      if(filters.containsKey(reasoner)){
        QueryFilter filter = filters.get(reasoner);
        if(filter.filter(query)){
          selection.add(reasoner);
        }
      } else {
        selection.add(reasoner);
      }
View Full Code Here

TOP

Related Classes of de.fzi.herakles.strategy.component.QueryFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.