Inherited from DefaultGraphImpl[Rule, LDiEdge]
Inherited from GraphTraversalImpl[Rule, LDiEdge]
Inherited from State[Rule, LDiEdge]
Inherited from TraverserImpl[Rule, LDiEdge]
Inherited from AdjacencyListGraph[Rule, LDiEdge, DefaultGraphImpl]
Inherited from AdjacencyListBase[Rule, LDiEdge, DefaultGraphImpl]
Inherited from Graph[Rule, LDiEdge]
Inherited from GraphLike[Rule, LDiEdge, DefaultGraphImpl]
Inherited from Mutable
Inherited from EdgeOps[Rule, LDiEdge, DefaultGraphImpl]
Inherited from Cloneable[Graph[Rule, LDiEdge]]
Inherited from Cloneable
Inherited from Cloneable
Inherited from Shrinkable[Param[Rule, LDiEdge]]
Inherited from Growable[Param[Rule, LDiEdge]]
Inherited from Clearable
Inherited from Graph[Rule, LDiEdge]
Inherited from GraphLike[Rule, LDiEdge, DefaultGraphImpl]
Inherited from GraphDegree[Rule, LDiEdge]
Inherited from GraphTraversal[Rule, LDiEdge]
Inherited from GraphBase[Rule, LDiEdge]
Inherited from Serializable
Inherited from Serializable
Inherited from Set[Param[Rule, LDiEdge]]
Inherited from SetLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from Subtractable[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from GenSet[Param[Rule, LDiEdge]]
Inherited from GenericSetTemplate[Param[Rule, LDiEdge], Set]
Inherited from GenSetLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from Iterable[Param[Rule, LDiEdge]]
Inherited from IterableLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from Equals
Inherited from GenIterable[Param[Rule, LDiEdge]]
Inherited from GenIterableLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from Traversable[Param[Rule, LDiEdge]]
Inherited from GenTraversable[Param[Rule, LDiEdge]]
Inherited from GenericTraversableTemplate[Param[Rule, LDiEdge], Set]
Inherited from TraversableLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from GenTraversableLike[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from Parallelizable[Param[Rule, LDiEdge], ParSet[Param[Rule, LDiEdge]]]
Inherited from TraversableOnce[Param[Rule, LDiEdge]]
Inherited from GenTraversableOnce[Param[Rule, LDiEdge]]
Inherited from FilterMonadic[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from HasNewBuilder[Param[Rule, LDiEdge], DefaultGraphImpl[Rule, LDiEdge]]
Inherited from (Param[Rule, LDiEdge]) ⇒ Boolean
Inherited from AnyRef
Inherited from Any
Given a set of rules R, a rule dependency graph (RDG) is a directed graph G = (V, E) such that
The dependency between two rules r_i and r_j, denoted as r_i -> r_j, resp. "r_i depends on r_j" indicates that the result of r_j is used as input of r_i. In particular, that means we use the same direction in the graph although one would expect to have an edge from the rule r_j producing the data to the rule r_i consuming the data.
Some notes about the types used: The Rule class stems from org.apache.jena.reasoner.rulesys and comprises a list of antecedents (body) and a list of consequents (head), i.e.
consequent [, consequent] <- antecedent [, antecedent]
where each consequent or antecedent can be a TriplePattern (i.e. a triple of Nodes, themselves being either variables, wildcards, embedded functors, uri or literal graph nodes), a Functor or a Rule.
The Graph and LDiEdge ('labeled directed edge') classes stem from scalax.collection which provides the main graph functionality. Considering a scalax.collection.Graph two kinds of Nodes are distinguished:
- Outer Nodes Outer nodes exist outside of the context of any particular graph and must be provided by the library user. When added to a graph, they will be transparently wrapped by a corresponding inner node. Outer nodes must satisfy the upper bound of the node type parameter of the graph - Inner Nodes Inner nodes are objects bound to a particular graph. They are transparently created on graph instantiation or on adding nodes to a graph. Inner nodes are instances of the inner class NodeT, hence the term, and are implementing the InnerNodeLike interface. An inner node acts as a container of the corresponding outer node also providing a wealth of graph functionality such as diSuccessors or pathTo. Inner nodes always equal to the contained, user-provided outer node thus facilitating interchangeability of inner and outer nodes in many situations. Note that NodeT is a path dependent type such as g.NodeT with g denoting a single graph instance.
(Descriptions taken from http://www.scala-graph.org/guides/core-inner-outer.html)