|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.bddbddb.Interactive
public class Interactive
Command-line interactive bddbddb solver. The command line accepts anything that is valid in a Datalog file, plus a special query syntax that ends with '?'. Queries cause the solver to automatically solve the Datalog with respect to the given query. There are also some extra commands; type "help" to get a list of them.
Field Summary | |
---|---|
static java.io.PrintStream |
err
|
static boolean |
IGNORE_OUTPUT
|
static java.io.InputStream |
in
|
static java.io.PrintStream |
out
|
protected DatalogParser |
parser
Datalog parser. |
protected Solver |
solver
Solver we are using. |
Constructor Summary | |
---|---|
Interactive(Solver s)
Construct a new interactive solver. |
Method Summary | |
---|---|
void |
interactive()
Invoke the interactive solver. |
static void |
main(java.lang.String[] args)
The entry point of the application. |
static void |
printHelp()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.InputStream in
public static java.io.PrintStream out
public static java.io.PrintStream err
public static boolean IGNORE_OUTPUT
protected Solver solver
protected DatalogParser parser
Constructor Detail |
---|
public Interactive(Solver s)
s
- solver to useMethod Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.io.IOException
args
- command line args
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.io.IOException
public static void printHelp()
public void interactive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |