public class SMTSettings extends java.lang.Object implements SMTSettings
| Modifier and Type | Field and Description |
|---|---|
private ProofDependentSMTSettings |
pdSettings |
private ProofIndependentSMTSettings |
piSettings |
private Proof |
proof |
private java.util.LinkedList<Taclet> |
taclets |
| Constructor and Description |
|---|
SMTSettings(ProofDependentSMTSettings pdSettings,
ProofIndependentSMTSettings piSettings,
Proof proof) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SettingsListener listener) |
boolean |
checkForSupport()
Returns true if and only if the version should be checked each time a solver is started.
|
void |
copy(SMTSettings settings) |
void |
fireSettingsChanged() |
long |
getHeapBound()
Returns the bit size used for modelling heaps when looking for
bounded counter examples.
|
long |
getIntBound()
Returns the bit size used for modelling integers when looking for
bounded counter examples.
|
long |
getLocSetBound()
Returns the bit size used for modelling location sets when looking for
bounded counter examples.
|
java.lang.String |
getLogic() |
int |
getMaxConcurrentProcesses()
Returns the maximum number of processes that are allowed to run
concurrently.
|
long |
getMaximumInteger() |
int |
getMaxNumberOfGenerics() |
long |
getMinimumInteger() |
int |
getModeOfProgressDialog() |
long |
getObjectBound()
Returns the bit size used for modelling objects when looking for
bounded counter examples.
|
java.lang.String |
getPathForSMTTranslation() |
java.lang.String |
getPathForTacletTranslation() |
ProofDependentSMTSettings |
getPdSettings() |
ProofIndependentSMTSettings |
getPiSettings() |
Proof |
getProof() |
long |
getSeqBound()
Returns the bit size used for modelling sequences when looking for
bounded counter examples.
|
java.lang.String |
getSMTTemporaryFolder()
The path of the folder, where the smt files are stored temporarily.
|
SupportedTaclets |
getSupportedTaclets() |
java.util.Collection<Taclet> |
getTaclets()
The set of taclets that should be used.
|
long |
getTimeout()
Returns the timeout that should be used for a single solver (in
milliseconds).
|
boolean |
instantiateNullAssumption()
true If a concrete null object should be used. |
boolean |
invarianForall() |
boolean |
makesUseOfTaclets() |
boolean |
storeSMTTranslationToFile() |
boolean |
storeTacletTranslationToFile() |
boolean |
useAssumptionsForBigSmallIntegers()
Returns
true if for too big respective too small integers (integers that
are not supported) a constant should be introduced. |
boolean |
useBuiltInUniqueness()
Returns
true if the uniqueness property should be translated
by using the built-in mechanism of the solver. |
boolean |
useExplicitTypeHierarchy()
true If the transitive relations in the sort hierarchy
should be explicitly modeled by formulas. |
boolean |
useUninterpretedMultiplicationIfNecessary()
Returns
true if a uninterpreted function should be used if the
normal normal multiplication is not supported. |
private final ProofDependentSMTSettings pdSettings
private final ProofIndependentSMTSettings piSettings
private final Proof proof
private java.util.LinkedList<Taclet> taclets
public SMTSettings(ProofDependentSMTSettings pdSettings, ProofIndependentSMTSettings piSettings, Proof proof)
public void copy(SMTSettings settings)
public ProofDependentSMTSettings getPdSettings()
public ProofIndependentSMTSettings getPiSettings()
public Proof getProof()
public int getMaxConcurrentProcesses()
SMTSettingsgetMaxConcurrentProcesses in interface SMTSettingspublic int getMaxNumberOfGenerics()
getMaxNumberOfGenerics in interface SMTSettingspublic java.lang.String getSMTTemporaryFolder()
SMTSettingsgetSMTTemporaryFolder in interface SMTSettingspublic java.util.Collection<Taclet> getTaclets()
SMTSettingsgetTaclets in interface SMTSettingspublic long getTimeout()
SMTSettingsgetTimeout in interface SMTSettingspublic boolean instantiateNullAssumption()
SMTSettingstrue If a concrete null object should be used.instantiateNullAssumption in interface SMTSettingspublic boolean makesUseOfTaclets()
makesUseOfTaclets in interface SMTSettingstrue if taclets should be used as assumptions.public boolean useAssumptionsForBigSmallIntegers()
SMTSettingstrue if for too big respective too small integers (integers that
are not supported) a constant should be introduced.useAssumptionsForBigSmallIntegers in interface SMTSettingspublic boolean useBuiltInUniqueness()
SMTSettingstrue if the uniqueness property should be translated
by using the built-in mechanism of the solver.
Has only some effect if the solver supports a built in feature for uniqueness.useBuiltInUniqueness in interface SMTSettingspublic boolean useExplicitTypeHierarchy()
SMTSettingstrue If the transitive relations in the sort hierarchy
should be explicitly modeled by formulas.useExplicitTypeHierarchy in interface SMTSettingspublic boolean useUninterpretedMultiplicationIfNecessary()
SMTSettingstrue if a uninterpreted function should be used if the
normal normal multiplication is not supported. In case that such a function
should not be used an exception is thrown when a not supported multiplication
occurs.useUninterpretedMultiplicationIfNecessary in interface SMTSettingspublic SupportedTaclets getSupportedTaclets()
public int getModeOfProgressDialog()
public boolean storeSMTTranslationToFile()
public boolean storeTacletTranslationToFile()
public java.lang.String getPathForTacletTranslation()
public java.lang.String getPathForSMTTranslation()
public void fireSettingsChanged()
public void addListener(SettingsListener listener)
public long getMaximumInteger()
getMaximumInteger in interface SMTSettingspublic long getMinimumInteger()
getMinimumInteger in interface SMTSettingspublic java.lang.String getLogic()
getLogic in interface SMTSettingspublic boolean checkForSupport()
SMTSettingscheckForSupport in interface SMTSettingspublic long getIntBound()
SMTSettingsgetIntBound in interface SMTSettingspublic long getHeapBound()
SMTSettingsgetHeapBound in interface SMTSettingspublic long getSeqBound()
SMTSettingsgetSeqBound in interface SMTSettingspublic long getObjectBound()
SMTSettingsgetObjectBound in interface SMTSettingspublic long getLocSetBound()
SMTSettingsgetLocSetBound in interface SMTSettingspublic boolean invarianForall()
invarianForall in interface SMTSettings