object RuleDependencyGraphGenerator extends Logging
A generator for a so-called dependency graph based on a given set of rules. A dependency graph is a directed graph representing dependencies of several objects towards each other. It is possible to derive an evaluation order or the absence of an evaluation order that respects the given dependencies from the dependency graph.
- Alphabetic
- By Inheritance
- RuleDependencyGraphGenerator
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait RuleDependencyDirection extends AnyRef
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asString(edge: scalax.collection.mutable.DefaultGraphImpl.EdgeImpl): String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
debug(msg: ⇒ String): Unit
- Definition Classes
- RuleDependencyGraphGenerator → Logging
-
def
debug(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
debug(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
dependsOn(rule1: Rule, rule2: Rule): Boolean
Checks whether rule
rule1
depends on rulerule2
.Checks whether rule
rule1
depends on rulerule2
. This methods currently checks if there is a triple pattern in the head ofrule2
that also occurs in the body ofrule1
.- rule1
the first rule
- rule2
the second rule
- returns
whether the first rule depends on the second rule
-
def
dependsOnSmart(rule1: Rule, rule2: Rule): Option[TriplePattern]
Checks whether rule
rule1
depends on rulerule2
.Checks whether rule
rule1
depends on rulerule2
. This methods currently checks if there is a triple pattern in the head ofrule2
that also occurs in the body ofrule1
.- rule1
the first rule
- rule2
the second rule
- returns
the triple pattern on which
rule1
depends
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
error(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
error(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generate(rules: Set[Rule], f: (Rule, Rule) ⇒ Option[TriplePattern] = dependsOnSmart, pruned: Boolean = false, dependencyDirection: RuleDependencyDirection = ConsumerProducer): RuleDependencyGraph
Generates the rule dependency graph for a given set of rules.
Generates the rule dependency graph for a given set of rules.
- rules
the set of rules
- f
a function that denotes whether a rule
r1
depends on another ruler2
- returns
the rule dependency graph
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
info(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
info(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
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 prune(graph: RuleDependencyGraph): RuleDependencyGraph
- def prune1(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeCycles(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeCyclesIfPredicateIsTC(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeEdgesWithCycleOverTCNode(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeEdgesWithPredicateAlreadyTC(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeLoops(graph: RuleDependencyGraph): RuleDependencyGraph
- def removeRedundantEdges(graph: RuleDependencyGraph): RuleDependencyGraph
- def sameElements(this1: Traversable[_], that: Traversable[_]): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
trace(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
trace(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
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()
-
def
warn(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
warn(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
warn(msg: ⇒ String): Unit
- Definition Classes
- Logging
- object ConsumerProducer extends RuleDependencyDirection with Product with Serializable
- object ProducerConsumer extends RuleDependencyDirection with Product with Serializable