Examples of explain()


Examples of org.infinispan.query.CacheQuery.explain()

      //The implementation is changed to this way as in case of NRT index manager the number of created documents may
      //differ comparing to the simple configuration.
      while (true) {
         try {
            Explanation found = cacheQuery.explain(i);

            if(found.isMatch())
               matchCounter++;

            i++;
View Full Code Here

Examples of org.jzkit.search.SearchSessionFactory.explain()

    // has to be called first. Other methods
    //checkMandatoryParams(params, mandatoryEXPL);


    SearchSessionFactory search_session_factory = getSearchSession(context);
    ExplainInformationDTO explain = search_session_factory.explain();


    Hashtable<String, Boolean> seenContextSets = new Hashtable<String, Boolean>();

    Element response = new Element(Jeeves.Elem.RESPONSE);
View Full Code Here

Examples of org.voltdb.expressions.AbstractExpression.explain()

                    sb.append(" DISTINCT");
                }
                sb.append("(");
                AbstractExpression ae = m_aggregateExpressions.get(ii);
                if (ae != null) {
                    sb.append(ae.explain(optionalTableName));
                }
                sb.append("), ");
            }
            ++ii;
        }
View Full Code Here

Examples of solver.explanations.ExplanationEngine.explain()

    @Override
    public void explain(Deduction d, Explanation e) {
        ExplanationEngine explainer = var.getSolver().getExplainer();
        if (branch == 1) {
            e.add(explainer.explain(getPositiveDeduction()));
        } else if (branch == 2) {
            e.add(explainer.explain(getNegativeDeduction()));
        } else {
            throw new SolverException("Cannot explain a decision which has not been applied or refuted");
        }
View Full Code Here

Examples of solver.variables.Variable.explain()

    @Override
    public void explain(Deduction d, Explanation e) {
        e.add(solver.getExplainer().getPropagatorActivation(this));
        Variable reason = (d.getVar() == vars[0]) ? vars[1] : vars[0];
        reason.explain(VariableState.DOM, e);
        e.add(aCause);
    }


    //*************************************************************//
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.