wscan

gapt.logic.hol.wscan
object wscan

Attributes

Source
wscan.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
wscan.type

Members list

Value members

Concrete methods

def apply(input: ClauseSetPredicateEliminationProblem, oneSidedOnly: Boolean, allowResolutionOnBaseLiterals: Boolean, derivationLimit: Option[Int], attemptLimit: Option[Int], witnessLimit: Option[Int]): Option[Substitution]

Runs WSCAN algorithm on the input predicate elimination problem by running SCAN and attempting to find a WSOQE-witness for the input from a terminating derivation.

Runs WSCAN algorithm on the input predicate elimination problem by running SCAN and attempting to find a WSOQE-witness for the input from a terminating derivation.

Value parameters

allowResolutionOnBaseLiterals

@see allowResolutiononBaseLiterals option of scan

attemptLimit

@see attemptLimit option of scan

derivationLimit

@see derivationLimit option of scan

input

input predicate elimination problem in clause set form

oneSidedOnly

@see oneSidedOnly option of scan

witnessLimit

controls the amount of inferences to be performed during the saturation process to construct witnesses

Attributes

Returns

a substitution satisfying the WSOQE-condition, if successful. Returns None otherwise

Source
wscan.scala

Runs the SCAN algorithm multiple times on the input predicate elimination problem to find several derivations and corresponding witnesses and only gives back those that are mutually non-equivalent.

Runs the SCAN algorithm multiple times on the input predicate elimination problem to find several derivations and corresponding witnesses and only gives back those that are mutually non-equivalent.

Value parameters

allowResolutionOnBaseLiterals

@see allowResolutiononBaseLiterals option of scan

attemptLimit

@see attemptLimitOption of scan

derivationLimit

@see derivationLimit option of scan

input

input predicate elimination problem in clause set form

oneSidedOnly

@see oneSidedOnly option of scan

witnessLimit

@see witnessLimit option of wscan

Attributes

Returns

an iterator of mutually non-equivalent substitutions satisfying the WSOQE-condition of the given input

Source
wscan.scala
def pResU(pointedClause: PointedClause, limit: Option[Int]): Option[Expr]

Attributes

Source
wscan.scala
def witness(derivation: Derivation, witnessLimit: Option[Int]): Option[Substitution]

Computes the WSCAN witness based on a given SCAN derivation. Returns Some, if the computation succeeds with the given witnessLimit. Returns None otherwise.

Computes the WSCAN witness based on a given SCAN derivation. Returns Some, if the computation succeeds with the given witnessLimit. Returns None otherwise.

Value parameters

derivation

derivation based on which a witness should be computed

witnessLimit

maximum number of inferences used in each saturation process to compute a witness. If set to None, the method might not terminate

Attributes

Returns

an iterator eliminating derivation from the input clause set and a substitution satisfying the WSOQE-condition, if successful

Source
wscan.scala
def witnesses(input: ClauseSetPredicateEliminationProblem, oneSidedOnly: Boolean, allowResolutionOnBaseLiterals: Boolean, derivationLimit: Option[Int], attemptLimit: Option[Int], witnessLimit: Option[Int]): Iterator[Substitution]

Runs the SCAN algorithm multiple times on the input predicate elimination problem to find several derivations returns the corresponding witnesses

Runs the SCAN algorithm multiple times on the input predicate elimination problem to find several derivations returns the corresponding witnesses

Value parameters

allowResolutionOnBaseLiterals

@see allowResolutiononBaseLiterals option of scan

attemptLimit

@see attemptLimit option of scan

derivationLimit

@see derivationLimit option of scan

input

input predicate elimination problem in clause set form

oneSidedOnly

@see oneSidedOnly option of scan

witnessLimit

@see witnessLimit option of wscan

Attributes

Returns

an iterator of substitutions satisfying the WSOQE-condition of the given input

Source
wscan.scala