|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Dataflow.Solver
public abstract class Solver
Solver
Field Summary | |
---|---|
protected Map |
dataflowValues
Map from locations to dataflow values. |
protected jwutil.collections.MapFactory |
factory
Map factory to create map from locations to dataflow values. |
protected Problem |
problem
The dataflow problem to solve. |
Constructor Summary | |
---|---|
protected |
Solver()
|
protected |
Solver(jwutil.collections.MapFactory factory)
|
Method Summary | |
---|---|
abstract Iterator |
allLocations()
Returns an iteration of all graph locations. |
abstract Iterator |
boundaryLocations()
Returns an iteration of all boundary locations. |
static void |
compareResults(jwutil.graphs.Graph g,
Solver s1,
Solver s2)
|
boolean |
direction()
Returns the direction of the dataflow problem that we are solving. |
static void |
dumpResults(jwutil.graphs.Graph g,
Solver s)
|
Fact |
getDataflowValue(Object c)
Get the dataflow value associated with the given location. |
void |
initialize(Problem p,
jwutil.graphs.Graph graph)
Initializes the solver to prepare to solve the dataflow problem on the given graph. |
protected void |
initializeDataflowValueMap()
(Re-)initialize the map from locations to dataflow values. |
void |
reset()
Frees the memory associated with this solver. |
abstract void |
solve()
Solves this dataflow problem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Problem problem
protected final jwutil.collections.MapFactory factory
protected Map dataflowValues
Constructor Detail |
---|
protected Solver(jwutil.collections.MapFactory factory)
protected Solver()
Method Detail |
---|
public boolean direction()
public abstract Iterator allLocations()
public abstract Iterator boundaryLocations()
public void initialize(Problem p, jwutil.graphs.Graph graph)
public abstract void solve()
public void reset()
protected void initializeDataflowValueMap()
public Fact getDataflowValue(Object c)
public static void dumpResults(jwutil.graphs.Graph g, Solver s)
public static void compareResults(jwutil.graphs.Graph g, Solver s1, Solver s2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |