Examples of YicesSolver


Examples of org.jakstab.solver.yices.YicesSolver

   * Creates a new solver context.
   *
   * @return a new Solver instance, currently always of type YicesSolver
   */
  public static Solver createSolver() {
    return new YicesSolver();
  }
View Full Code Here

Examples of org.jakstab.solver.yices.YicesSolver

   *
   * @param f the formula to check
   * @return true if the formula is satisfiable, false otherwise
   */
  public static boolean isSatisfiable(RTLExpression f) {
    YicesSolver ys = new YicesSolver();
    ys.addAssertion(f);
    return ys.isSatisfiable();
  }
View Full Code Here

Examples of org.jakstab.solver.yices.YicesSolver

  /**
   * @throws java.lang.Exception
   */
  @Before
  public void setUp() throws Exception {
    solver = new YicesSolver();
    esp = ExpressionFactory.createVariable("esp", 32);
    m1 = ExpressionFactory.createMemoryLocation(ExpressionFactory.createPlus(esp, ExpressionFactory.createNumber(4, 32)), 32);
    m2 = ExpressionFactory.createMemoryLocation(ExpressionFactory.createPlus(esp, ExpressionFactory.createNumber(8, 32)), 32);
    m3 = ExpressionFactory.createMemoryLocation(ExpressionFactory.createPlus(esp, ExpressionFactory.createNumber(4, 32)), 32);
  }
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.