SwiftstructKnowledgeGraphKit
NeighborRelationOut
struct KnowledgeGraphKit.NeighborRelationOut
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolKnowledgeGraphKit.Relation
Members 8
- field
let edgeFilter: KnowledgeGraphKit.Filter<A>+0x0 - func
adjacency(from: KnowledgeGraphKit.ElementIdentifierSet, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency - func
adjacencyByJoining(with: KnowledgeGraphKit.DirectedBinaryAdjacency, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency - func
inverse() -> any KnowledgeGraphKit.Relation<Self.SourceElement == A.TargetNode, Self.TargetElement == A.SourceNode> - func
targetNodeIdentifiers(from: KnowledgeGraphKit.ElementIdentifierSet, in: KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.ElementIdentifierSet - init
init(with: KnowledgeGraphKit.Filter<A>) -> KnowledgeGraphKit.NeighborRelationOut<A> - typealias
typealias SourceElement = A.KnowledgeGraphKit.Edge.SourceNode - typealias
typealias TargetElement = A.KnowledgeGraphKit.Edge.TargetNode
Header
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 }