Class BoolectorSolver

  • All Implemented Interfaces:
    Solver

    public final class BoolectorSolver
    extends SolverBase
    The BoolectorSolver class implements logic of a constraint solver that uses the Boolector tool. The constraint is translated to STM-LIB code that is then saved to a file and processed to the tool.
    • Constructor Detail

      • BoolectorSolver

        public BoolectorSolver()
        Construct a BoolectorSolver object.
    • Method Detail

      • getHeader

        protected java.util.List<java.lang.String> getHeader()
        Returns the list of solver-specific header lines.
        Returns:
        The list of solver-specific header lines.
      • invokeSolver

        public java.io.Reader invokeSolver​(java.lang.String path)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • solve

        public SolverResult solve​(Constraint constraint)
        Description copied from interface: Solver
        Solves the specified constraint.
        Parameters:
        constraint - A constraint object.
        Returns:
        Result of solving the constraint.