object FOLPosition extends Serializable
- Source
- FOLPosition.scala
- Alphabetic
- By Inheritance
- FOLPosition
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(is: Int*): FOLPosition
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def definesFOLPosition(exp: FOLExpression)(pos: HOLPosition): Boolean
- def differingPositions(exp1: FOLExpression, exp2: FOLExpression): List[FOLPosition]
Compares two FOLExpressions and returns the list of outermost positions where they differ.
Compares two FOLExpressions and returns the list of outermost positions where they differ.
- exp1
The first expression.
- exp2
The second expression.
- returns
The list of outermost positions at which exp1 and exp2 differ.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getPositions(exp: FOLExpression, pred: (FOLExpression) => Boolean = _ => true): List[FOLPosition]
Returns a list of positions of subexpressions that satisfy some predicate.
Returns a list of positions of subexpressions that satisfy some predicate.
This function is a wrapper around gapt.expr.formula.hol.HOLPosition.getPositions.
- exp
The expression under consideration.
- pred
The predicate to be evaluated. Defaults to "always true", i.e. if called without this argument, the function will return all positions.
- returns
Positions of subexpressions satisfying pred.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def replace(f: FOLExpression, pos: FOLPosition, repTerm: FOLExpression): FOLExpression
Replaces a a subexpression in a FOLExpression.
Replaces a a subexpression in a FOLExpression. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.
- f
The expression in which to perform the replacement.
- pos
The position at which to replace.
- repTerm
The expression that f(pos) should be replaced with.
- def replace(f: FOLFormula, pos: FOLPosition, repTerm: FOLExpression): FOLFormula
Replaces a a subexpression in a FOLFormula.
Replaces a a subexpression in a FOLFormula. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.
- f
The formula in which to perform the replacement.
- pos
The position at which to replace.
- repTerm
The expression that f(pos) should be replaced with.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toFOLPosition(exp: FOLExpression)(pos: HOLPosition): FOLPosition
- def toHOLPosition(exp: FOLExpression)(pos: FOLPosition): HOLPosition
- def toHOLPositionOption(exp: FOLExpression)(pos: FOLPosition): Option[HOLPosition]
- def toList(pos: FOLPosition): List[Int]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
This is the API documentation for GAPT.
The main package is gapt.