Class CommonSARLConfig
java.lang.Object
edu.udel.cis.vsl.sarl.config.common.CommonSARLConfig
- All Implemented Interfaces:
SARLConfig
An implementation of
SARLConfig using an array for the
ProverInfos as well as a map from the prover names to the
ProverInfos for fast lookup.-
Constructor Summary
ConstructorsConstructorDescriptionCommonSARLConfig(Collection<ProverInfo> provers) CommonSARLConfig(Collection<ProverInfo> provers, Path outputDir) -
Method Summary
Modifier and TypeMethodDescriptionintThe number of theorem provers supported by this configuration.getProver(int index) Gets the index-th theorem prover.Returns all the provers supported by this configuration as an iterable sequence.getProverWithAlias(String alias) Finds a prover supported by this configuration with the given alias.Finds a prover of the given kind supported by this configuration.Finds the why3 prove platform supported by this configurationvoidsetWhy3ProvePlatform(ProverInfo why3Info) Set the why3 prove platform supported by this configuration
-
Constructor Details
-
CommonSARLConfig
-
CommonSARLConfig
-
-
Method Details
-
getNumProvers
public int getNumProvers()Description copied from interface:SARLConfigThe number of theorem provers supported by this configuration.- Specified by:
getNumProversin interfaceSARLConfig- Returns:
- the number of theorem provers
-
getProver
Description copied from interface:SARLConfigGets the index-th theorem prover.- Specified by:
getProverin interfaceSARLConfig- Returns:
- the index-th prover
-
getProvers
Description copied from interface:SARLConfigReturns all the provers supported by this configuration as an iterable sequence.- Specified by:
getProversin interfaceSARLConfig- Returns:
- all provers supported by this configuration
-
getProverWithAlias
Description copied from interface:SARLConfigFinds a prover supported by this configuration with the given alias.- Specified by:
getProverWithAliasin interfaceSARLConfig- Parameters:
alias- the alias to search for- Returns:
- a prover supported by this configuration with given alias or
nullif there is no such prover
-
getProverWithKind
Description copied from interface:SARLConfigFinds a prover of the given kind supported by this configuration.- Specified by:
getProverWithKindin interfaceSARLConfig- Parameters:
kind- the kind to search for- Returns:
- a prover supported by this configuration of the given kind, or
nullif there is no such prover
-
getWhy3ProvePlatform
Description copied from interface:SARLConfigFinds the why3 prove platform supported by this configuration- Specified by:
getWhy3ProvePlatformin interfaceSARLConfig- Returns:
- The
ProverInfofor why3 or null if there is no why3 prove platform.
-
setWhy3ProvePlatform
Description copied from interface:SARLConfigSet the why3 prove platform supported by this configuration- Specified by:
setWhy3ProvePlatformin interfaceSARLConfig- Parameters:
why3Info- An object contains all the informations of the why3 prove platform.
-
getOutputFileDir
- Specified by:
getOutputFileDirin interfaceSARLConfig- Returns:
- the directory where SARL should put its generated temporary files in
-