Packages

o

net.sansa_stack.inference.rules

RuleDependencyGraphGenerator

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.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuleDependencyGraphGenerator
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait RuleDependencyDirection extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asString(edge: scalax.collection.mutable.DefaultGraphImpl.EdgeImpl): String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def debug(msg: ⇒ String): Unit
    Definition Classes
    RuleDependencyGraphGeneratorLogging
  8. def debug(msg: ⇒ String, o: Any, os: Any*): Unit
    Definition Classes
    Logging
  9. def debug(msg: ⇒ String, e: Throwable): Unit
    Definition Classes
    Logging
  10. def dependsOn(rule1: Rule, rule2: Rule): Boolean

    Checks whether rule rule1 depends on rule rule2.

    Checks whether rule rule1 depends on rule rule2. This methods currently checks if there is a triple pattern in the head of rule2 that also occurs in the body of rule1.

    rule1

    the first rule

    rule2

    the second rule

    returns

    whether the first rule depends on the second rule

  11. def dependsOnSmart(rule1: Rule, rule2: Rule): Option[TriplePattern]

    Checks whether rule rule1 depends on rule rule2.

    Checks whether rule rule1 depends on rule rule2. This methods currently checks if there is a triple pattern in the head of rule2 that also occurs in the body of rule1.

    rule1

    the first rule

    rule2

    the second rule

    returns

    the triple pattern on which rule1 depends

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def error(msg: ⇒ String, o: Any, os: Any*): Unit
    Definition Classes
    Logging
  15. def error(msg: ⇒ String, e: Throwable): Unit
    Definition Classes
    Logging
  16. def error(msg: ⇒ String): Unit
    Definition Classes
    Logging
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. 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 rule r2

    returns

    the rule dependency graph

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def info(msg: ⇒ String, o: Any, os: Any*): Unit
    Definition Classes
    Logging
  22. def info(msg: ⇒ String, e: Throwable): Unit
    Definition Classes
    Logging
  23. def info(msg: ⇒ String): Unit
    Definition Classes
    Logging
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def prune(graph: RuleDependencyGraph): RuleDependencyGraph
  31. def prune1(graph: RuleDependencyGraph): RuleDependencyGraph
  32. def removeCycles(graph: RuleDependencyGraph): RuleDependencyGraph
  33. def removeCyclesIfPredicateIsTC(graph: RuleDependencyGraph): RuleDependencyGraph
  34. def removeEdgesWithCycleOverTCNode(graph: RuleDependencyGraph): RuleDependencyGraph
  35. def removeEdgesWithPredicateAlreadyTC(graph: RuleDependencyGraph): RuleDependencyGraph
  36. def removeLoops(graph: RuleDependencyGraph): RuleDependencyGraph
  37. def removeRedundantEdges(graph: RuleDependencyGraph): RuleDependencyGraph
  38. def sameElements(this1: Traversable[_], that: Traversable[_]): Boolean
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def trace(msg: ⇒ String, o: Any, os: Any*): Unit
    Definition Classes
    Logging
  42. def trace(msg: ⇒ String, e: Throwable): Unit
    Definition Classes
    Logging
  43. def trace(msg: ⇒ String): Unit
    Definition Classes
    Logging
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  47. def warn(msg: ⇒ String, o: Any, os: Any*): Unit
    Definition Classes
    Logging
  48. def warn(msg: ⇒ String, e: Throwable): Unit
    Definition Classes
    Logging
  49. def warn(msg: ⇒ String): Unit
    Definition Classes
    Logging
  50. object ConsumerProducer extends RuleDependencyDirection with Product with Serializable
  51. object ProducerConsumer extends RuleDependencyDirection with Product with Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped