scan
Attributes
- Source
- scan.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
scan.type
Members list
Type members
Classlikes
A SCAN derivation
A SCAN derivation
Value parameters
- derivationSteps
-
the derivation steps performed
- from
-
the initial predicate elimination problem from which we start
Attributes
- Companion
- object
- Source
- scan.scala
- Supertypes
Attributes
- Companion
- class
- Source
- scan.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Derivation.type
One step of a SCAN derivation
A pointed clause (in analogy to pointed sets in mathematics) is a clause together with a choice of one of its literals, called the designated literal.
A pointed clause (in analogy to pointed sets in mathematics) is a clause together with a choice of one of its literals, called the designated literal.
Value parameters
- clause
-
the underlying clause
- index
-
the index of the literal within the clause
Attributes
- Source
- scan.scala
- Supertypes
Describes the state of the SCAN saturation process at any given time
Describes the state of the SCAN saturation process at any given time
Value parameters
- activeClauses
-
the active clause set
- allowResolutionOnBaseLiterals
-
@see allowResolutionOnBaseLiterals option of scsan
- derivation
-
the current derivation we are at
- oneSidedOnly
-
@see oneSidedOnly option of scan
- remainingAllowedInferences
-
the remaining number of inference steps. If None, an arbitrary amount of inferences is allowed
Attributes
- Companion
- object
- Source
- scan.scala
- Supertypes
Attributes
- Companion
- class
- Source
- scan.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
State.type
Value members
Concrete methods
Attributes
- Source
- scan.scala
Runs the SCAN algorithm on the input predicate elimination problem in clause form. If successful, returns a derivation whose conclusion does not contain any of the variables from the input predicate elimination problem.
Runs the SCAN algorithm on the input predicate elimination problem in clause form. If successful, returns a derivation whose conclusion does not contain any of the variables from the input predicate elimination problem.
Value parameters
- allowResolutionOnBaseLiterals
-
controls whether resolution on base literals is allowed. Base literals are those literals whose predicate symbol is not in the variables of the input predicate elimination problem
- attemptLimit
-
controls the maximum number of SCAN runs that are to be performed to find an eliminating derivation. If None is passed no limit is enforced, but note that this might cause non-termination.
- derivationLimit
-
controls the maximum number of inferences that derivations should have and makes sure that only derivations are returned that satisfy this limit. A value of None means that no limit is enforced, but note that this might cause non-termination.
- input
-
predicate elimination problem in clause form
- oneSidedOnly
-
controls whether during the purification processes of SCAN only one-sided pointed clauses should be purified, i.e. pointed clauses P where the designated literal of P only occurs with a single polarity in P.
Attributes
- Returns
-
If an eliminating deirvation D is found within the given attemptLimit whose size is within derivationLimit and which respects the options oneSidedOnly and allowResolutionOnBaseLiterals, then the result is Some(D). Returns None otherwise Otherwise Left(I) is returned where I is an iterator over the found derivations that do not the derivationLimit.
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Runs the SCAN algorithm on the input predicate elimination problem in clause form and collects different possible derivations in an iterator.
Runs the SCAN algorithm on the input predicate elimination problem in clause form and collects different possible derivations in an iterator.
Value parameters
- allowResolutionOnBaseLiterals
-
controls whether resolution on base literals is allowed. Base literals are those literals whose predicate symbol is not in the variables to be eliminated in the predicate elimination problem
- derivationLimit
-
controls the maximum number of inferences that derivations should have and makes sure that only derivations are returned that satisfy this limit. A value of None means that no limit is enforced, but note that this might cause non-termination.
- input
-
predicate elimination problem in clause form
- oneSidedOnly
-
controls whether during the purification processes of SCAN only one-sided pointed clause should be purified, i.e. a pointed clause P where the designated literal of P only occurs with a single polarity in P.
Attributes
- Returns
-
Returns an iterator of derivations found during backtracked runs of SCAN. Finding these multiple derivations is done by backtracking on the different choices of purified pointed clause during the purification process of SCAN. If a found derivation does not satisfy derivation limit, it is returned as Left, otherwise it is returned as Right.
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Applies the SCAN purification process to a given state with a given pointed clause which need not necessarily be part of the active clauses the given state
Applies the SCAN purification process to a given state with a given pointed clause which need not necessarily be part of the active clauses the given state
Value parameters
- pointedClause
-
pointed clause with respect to which to perform purification
- state
-
state at which to perform purification
Attributes
- Returns
-
if the purification process could be completed within the limits given in state, returns Right with the new state, otherwise returns Left with a state where the limit was reached
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala
Attributes
- Source
- scan.scala