Package kodkod.engine.bool

Examples of kodkod.engine.bool.BooleanFactory.accumulate()


   */
  private Translation generateSBP(BooleanAccumulator circuit, LeafInterpreter interpreter, SymmetryBreaker breaker) {
    options.reporter().generatingSBP();
    final BooleanFactory factory = interpreter.factory();
    circuit.add(breaker.generateSBP(interpreter, options.symmetryBreaking()));
    return toCNF((BooleanFormula)factory.accumulate(circuit), factory.numberOfVariables(), interpreter.vars());
  }
 
  /**
   * Conjoins the given circuit with an SBP generated using the given symmetry breaker and interpreter,
   * and returns the resulting circuit's translation to CNF.
View Full Code Here


        permuted.clear();
        prevIndex = curIndex;
      }
    }
   
    return factory.accumulate(sbp);
  }
 
  /**
   * Returns a list of RelationParts that map each non-constant r in this.bounds.relations to
   * the representatives of the sets from this.symmetries contained in the upper bound of r. 
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.