|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectforge.solve.ForgeSolver
public final class ForgeSolver
Binds instance literals to atoms. All bindings belong to a ConstantScene.
Constructor Summary | |
---|---|
ForgeSolver(ForgeCFG cfg,
int unrolls)
Constructs a solver for analyzing the given code, where loops and recursion are unrolled the specified number of times. |
|
ForgeSolver(ForgeCFG code,
SolveOptions options)
Constructs a solver for analyzing the given code with the given options. |
Method Summary | |
---|---|
ForgeSolution |
check(ForgeCFG.Spec spec,
ForgeBounds bounds)
Finds a trace of the procedure within the given bounds that does not refine the given specification statement, determining coverage information in the case where no trace can be found if coverage flag is set to true. |
java.util.Iterator<ForgeSolution> |
checkAll(ForgeCFG.Spec spec,
ForgeBounds bounds)
|
ForgeCFG |
code()
|
SolveOptions |
options()
|
ForgeProgram |
program()
|
ForgeSolution |
run(ForgeBounds bounds)
Finds a trace of the procedure within the given bounds. |
ForgeSolution |
run(ForgeCFG.Spec spec,
ForgeBounds bounds)
Finds a trace of the procedure within the given bounds that refines the given specification statement, determining coverage information in the case where no trace can be found if coverage flag is set to true. |
java.util.Iterator<ForgeSolution> |
runAll(ForgeCFG.Spec spec,
ForgeBounds bounds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForgeSolver(ForgeCFG cfg, int unrolls)
public ForgeSolver(ForgeCFG code, SolveOptions options)
Method Detail |
---|
public ForgeProgram program()
public ForgeCFG code()
public SolveOptions options()
public ForgeSolution run(ForgeBounds bounds)
public ForgeSolution run(ForgeCFG.Spec spec, ForgeBounds bounds)
public ForgeSolution check(ForgeCFG.Spec spec, ForgeBounds bounds)
public java.util.Iterator<ForgeSolution> runAll(ForgeCFG.Spec spec, ForgeBounds bounds)
public java.util.Iterator<ForgeSolution> checkAll(ForgeCFG.Spec spec, ForgeBounds bounds)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |