SwiftstructKnowledgeGraphKit

struct KnowledgeGraphKit.NeighborRelationOut

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldlet edgeFilter: KnowledgeGraphKit.Filter<A>+0x0
  2. funcadjacency(from: KnowledgeGraphKit.ElementIdentifierSet, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
  3. funcadjacencyByJoining(with: KnowledgeGraphKit.DirectedBinaryAdjacency, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
  4. funcinverse() -> any KnowledgeGraphKit.Relation<Self.SourceElement == A.TargetNode, Self.TargetElement == A.SourceNode>
  5. functargetNodeIdentifiers(from: KnowledgeGraphKit.ElementIdentifierSet, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.ElementIdentifierSet
  6. initinit(with: KnowledgeGraphKit.Filter<A>) -> KnowledgeGraphKit.NeighborRelationOut<A>
  7. typealiastypealias SourceElement = A.KnowledgeGraphKit.Edge.SourceNode
  8. typealiastypealias TargetElement = A.KnowledgeGraphKit.Edge.TargetNode
struct NeighborRelationOut<A> where A: KnowledgeGraphKit.Edge {
    let edgeFilter: KnowledgeGraphKit.Filter<A>

    init(with: KnowledgeGraphKit.Filter<A>)

    func adjacencyByJoining(with: KnowledgeGraphKit.DirectedBinaryAdjacency, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
    func targetNodeIdentifiers(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.ElementIdentifierSet
    func inverse() -> any KnowledgeGraphKit.Relation
    func adjacency(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
}