Class QueryCriterion

java.lang.Object
tools.refinery.store.dse.transition.objectives.QueryCriterion
All Implemented Interfaces:
Criterion

public class QueryCriterion extends Object implements Criterion
  • Field Details

    • satisfiedIfHasMatch

      protected final boolean satisfiedIfHasMatch
    • query

      protected final AnyQuery query
  • Constructor Details

    • QueryCriterion

      public QueryCriterion(AnyQuery query, boolean satisfiedIfHasMatch)
      Criteria based on the existence of matches evaluated on the model.
      Parameters:
      query - The query evaluated on the model.
      satisfiedIfHasMatch - If true, the criteria satisfied if the query has any match on the model. Otherwise, the criteria satisfied if the query has no match on the model.
  • Method Details