Object

net.sansa_stack.inference.rules

RuleDependencyGraphGenerator

Related Doc: package rules

Permalink

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ConsumerProducer extends RuleDependencyDirection with Product with Serializable

    Permalink
  5. object ProducerConsumer extends RuleDependencyDirection with Product with Serializable

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def asString(edge: scalax.collection.mutable.DefaultGraphImpl.EdgeImpl): String

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    RuleDependencyGraphGeneratorLogging
  10. def debug(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  11. def debug(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  12. def dependsOn(rule1: Rule, rule2: Rule): Boolean

    Permalink

    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

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

    Permalink

    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

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def error(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  17. def error(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  18. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def generate(rules: Set[Rule], f: (Rule, Rule) ⇒ Option[TriplePattern] = dependsOnSmart, pruned: Boolean = false, dependencyDirection: RuleDependencyDirection = ConsumerProducer): RuleDependencyGraph

    Permalink

    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

  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def info(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  24. def info(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  25. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def prune(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  33. def prune1(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  34. def removeCycles(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  35. def removeCyclesIfPredicateIsTC(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  36. def removeEdgesWithCycleOverTCNode(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  37. def removeEdgesWithPredicateAlreadyTC(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  38. def removeLoops(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  39. def removeRedundantEdges(graph: RuleDependencyGraph): RuleDependencyGraph

    Permalink
  40. def sameElements(this1: Traversable[_], that: Traversable[_]): Boolean

    Permalink
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def trace(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  44. def trace(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  45. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def warn(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  50. def warn(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  51. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped