- All Superinterfaces:
Comparable<ProverInfo>
Abstract interface representing information about an external theorem prover:
what kind of prover it is, where it can be found, etc.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumA classification of the different kinds of theorem provers. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds the given string to the set of aliases.voidAdds the given string to the end of the list of options.Returns the set of aliases associated to this theorem prover.Returns one of the alias strings in the set of aliases.getKind()The kind of theorem prover this is.Returns the sequence of command line options that should be used when invoking this theorem prover.getPath()The path to the executable theorem prover.booleanShould the prover print a message every time the underlying theorem prover reports an error? (In any case, the error is interpreted as an inconclusive result.)booleanShould the prover print a message every time it reports an inconclusive result?booleanShould the prover print all the queries?doubleReturns time limit in seconds or -1 if the time is unlimited.The version, e.g.voidprint(PrintStream out) Prints a complete representation of this object in the format that is expected in a SARL configuration file.voidsetKind(ProverInfo.ProverKind value) Sets the prover kind.voidSets the path to the executable theorem prover.voidsetShowErrors(boolean value) Sets whether the prover prints a message every time the underlying theorem prover reports an error.voidsetShowInconclusives(boolean value) Sets whether the prover prints a message every time it reports an inconclusive result.voidsetShowQueries(boolean value) Tell this prover whether it should print every query.voidsetTimeout(double value) Sets the timeout, i.e., the time limit in seconds.voidsetVersion(String value) Sets the version string.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getAliases
Returns the set of aliases associated to this theorem prover. The set should not be modified.- Returns:
- the set of aliases associated to this theorem prover
-
getFirstAlias
String getFirstAlias()Returns one of the alias strings in the set of aliases.- Returns:
- an alias string
-
addAlias
Adds the given string to the set of aliases.- Parameters:
value- the string to add to the set of aliases- Returns:
trueif the set of aliases did not already contain the given value
-
getOptions
Returns the sequence of command line options that should be used when invoking this theorem prover.- Returns:
- list of command line options
-
addOption
Adds the given string to the end of the list of options.- Parameters:
value- the string to add
-
getTimeout
double getTimeout()Returns time limit in seconds or -1 if the time is unlimited.- Returns:
- time limit in seconds
-
setTimeout
void setTimeout(double value) Sets the timeout, i.e., the time limit in seconds.- Parameters:
value- the time limit in seconds or -1 if the time is unlimited
-
getKind
ProverInfo.ProverKind getKind()The kind of theorem prover this is. This is a classification by kind of input language the prover expects.- Returns:
- kind of this prover
-
setKind
Sets the prover kind.- Parameters:
value- the prover kind
-
getPath
File getPath()The path to the executable theorem prover. This should be an absolute path to an executable file.- Returns:
- path to executable
-
setPath
Sets the path to the executable theorem prover. This should be an absolute path to an executable file.- Parameters:
value-
-
getVersion
String getVersion()The version, e.g. "1.4".- Returns:
- version string
-
setVersion
Sets the version string.- Parameters:
value- the version string
-
getShowQueries
boolean getShowQueries()Should the prover print all the queries?- Returns:
trueif this prover should print queries
-
setShowQueries
void setShowQueries(boolean value) Tell this prover whether it should print every query.- Parameters:
value-trueif this prover should print queries
-
getShowInconclusives
boolean getShowInconclusives()Should the prover print a message every time it reports an inconclusive result?- Returns:
trueif a message should be printed for every inconclusive result
-
setShowInconclusives
void setShowInconclusives(boolean value) Sets whether the prover prints a message every time it reports an inconclusive result.- Parameters:
value-trueif a message should be printed for every inconclusive result
-
getShowErrors
boolean getShowErrors()Should the prover print a message every time the underlying theorem prover reports an error? (In any case, the error is interpreted as an inconclusive result.)- Returns:
trueif a message should be printed for every error
-
setShowErrors
void setShowErrors(boolean value) Sets whether the prover prints a message every time the underlying theorem prover reports an error. (In any case, the error is interpreted as an inconclusive result.)- Type Parameters:
code- true if a message should be printed for every error
-
print
Prints a complete representation of this object in the format that is expected in a SARL configuration file.- Parameters:
out- where to print
-