class Facts extends Logger
- Alphabetic
- By Inheritance
- Facts
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
add(f: Fact): Unit
adds a fact to the database
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConstantAtoms: List[Atom]
-
def
has(g: Goal, tp: Term): Option[Term]
the proof term (if any) of a fact for the type tp valid at goal g
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(e: Error): Unit
logs an error - always logged
logs an error - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
def
log(s: ⇒ String, subgroup: Option[String] = None): Unit
logs a message with this logger's logprefix
logs a message with this logger's logprefix
- Attributes
- protected
- Definition Classes
- Logger
-
def
logError(s: ⇒ String): Unit
log as an error message
log as an error message
- Attributes
- protected
- Definition Classes
- Logger
-
def
logGroup[A](a: ⇒ A): A
wraps around a group to create nested logging
wraps around a group to create nested logging
- Attributes
- protected
- Definition Classes
- Logger
- def logPrefix: String
-
def
logTemp(s: ⇒ String): Unit
temporary logging - always logged
temporary logging - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
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()
- val report: Report
-
def
solutionsOfGoal(goal: Goal): List[Term]
the set of terms of the type required by the goal
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
termsOfTypeAtGoal(goal: Goal, queryVars: Context, query: Term): List[(Substitution, Term)]
the set of facts whose type matches a given type and which are valid at a certain goal
the set of facts whose type matches a given type and which are valid at a certain goal
- goal
goal where facts must be valid
- queryVars
free variables in the needed type that are to be matched
- query
the needed type
- returns
the pairs (sub, t) such that Fact(goal, tm, query ^ sub) If not all queryVars occur in query, then sub will be partial.
-
def
termsOfTypeBelowGoal(goal: Goal, queryVars: Context, query: Term): List[(Substitution, Term, Option[Goal])]
the set of facts whose type matches a given type and which are valid at a certain goal or some of its subgoals
the set of facts whose type matches a given type and which are valid at a certain goal or some of its subgoals
retrieving facts at subgoals is useful for forward search: facts are only needed at leaf nodes, but computing them as high as possible avoids duplication of facts
- goal
goal where facts must be valid
- queryVars
free variables in the needed type that are to be matched
- query
the needed type
- returns
the triples (sub, t, g) such that Fact(g, tm, query ^ sub) and (g below goal); g is None if (goal below g) If not all queryVars occur in query, then sub will be partial.
-
def
toString(): String
- Definition Classes
- Facts → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()