// Generated by HeaderLand from iOS 27.2.1 (24B156), /System/Library/PrivateFrameworks/KnowledgeGraphKit.framework/KnowledgeGraphKit.
// Recovered from the binary: no comments, no parameter names Swift does not keep, no availability.
actor GraphManager {
let url: Foundation.URL
var entityFactory: any KnowledgeGraphKit.EntityFactory
var _storeManager: KnowledgeGraphKit.GraphStoreManager?
init(at: Foundation.URL, entityFactory: any KnowledgeGraphKit.EntityFactory)
var unownedExecutor: Swift.UnownedSerialExecutor {
get
}
func replaceFromGraph(_: any KnowledgeGraphKit.AbstractGraph) async throws
func invalidate() async
func read(_: @Sendable (_: any KnowledgeGraphKit.AbstractGraph) async throws -> A) async throws -> A where A: Swift.Sendable
func write(_: @Sendable (_: KnowledgeGraphKit.ConcreteGraph<__C.KGMutableGraph>) async throws -> A) async throws -> A where A: Swift.Sendable
func exclusive(_: @Sendable (_: KnowledgeGraphKit.ConcreteGraph<__C.KGMutableGraph>) async throws -> A) async throws -> A where A: Swift.Sendable
static func checkNoGraphStoreManagerLeft() async
static func graphIsInUse(at: Foundation.URL) async -> Swift.Bool
static func swap(from: Foundation.URL, to: Foundation.URL) async throws
deinit
}
actor GraphStoreManager {
actor GraphStoreManagerRepository {
var graphStoreManagerByURL: [Foundation.URL : (KnowledgeGraphKit.GraphStoreManager, Swift.Int)]
}
enum Error {
case noReadonlyGraphAvailable
case failedToInstantiateStore
case storeNotFound
case failedToObtainGraphIdentifier
case noResultFromRead
}
let url: Foundation.URL
var readRunningCount: Swift.Int
var readFeeding: Swift.Bool
var closed: Swift.Bool
var readStoreBooking: [Swift.Int]
var readOnlyStores: [__C.KGDegasGraphStore]
var readWriteStore: __C.KGDegasGraphStore?
let executionQueue: __C.OS_dispatch_queue
let readFeederQueue: __C.OS_dispatch_queue
let writeFeederQueue: __C.OS_dispatch_queue
}
actor KnowledgeGraphKit.GraphStoreManager.GraphStoreManagerRepository {
var graphStoreManagerByURL: [Foundation.URL : (KnowledgeGraphKit.GraphStoreManager, Swift.Int)]
}
class Box {
final var value: A
init(_: A)
deinit
}
class ConcreteGraph where A: __C.KGGraph {
let _kgGraph: A
var isValid: Swift.Bool
final var description: Swift.String {
get
}
final var entityFactory: any __C.KGEntityFactory {
get
}
final var kgGraph: A {
get
}
final func perform(_: __C.KGGraphChangeRequest) async throws where A == __C.KGMutableGraph
deinit
}
@propertyWrapper
class KGWrapperDirectedBinaryAdjacency: __C.NSObject {
var wrappedValue: KnowledgeGraphKit.DirectedBinaryAdjacency
}
class KGWrapperMutableDirectedBinaryAdjacency: KnowledgeGraphKit.KGWrapperDirectedBinaryAdjacency {}
class MAFloatMatrixWrapper: __C.NSObject, __C.NSCopying, __C.NSMutableCopying {
var _floatMatrix: KnowledgeGraphKit.Matrix
var floatMatrix: KnowledgeGraphKit.Matrix {
get
}
init(floatMatrix: KnowledgeGraphKit.Matrix)
init(rows: [[Swift.Float]])
init(floats: Swift.UnsafePointer, rows: Swift.Int, columns: Swift.Int)
init()
final var columns: Swift.Int {
get
}
final var count: Swift.Int {
get
}
final var description: Swift.String {
get
}
final var hash: Swift.Int {
get
}
final var rows: Swift.Int {
get
}
@objc func matrixBySubtractingMatrix(_: KnowledgeGraphKit.MAFloatMatrixWrapper) -> KnowledgeGraphKit.MAFloatMatrixWrapper
final func mutableCopy(with: ObjectiveC.NSZone?) -> Any
final func sumAlongAxis(_: __C.MAMatrixAxis) -> KnowledgeGraphKit.MAFloatVectorWrapper
final func sumOfSquares() -> Swift.Float
final func meanAlongAxis(_: __C.MAMatrixAxis) -> KnowledgeGraphKit.MAFloatVectorWrapper
final func appendingColumn(_: KnowledgeGraphKit.MAFloatVectorWrapper) -> KnowledgeGraphKit.MAFloatMatrixWrapper
final func appendingColumns(of: KnowledgeGraphKit.MAFloatMatrixWrapper) -> KnowledgeGraphKit.MAFloatMatrixWrapper
final func isApproximatelyEqual(to: KnowledgeGraphKit.MAFloatMatrixWrapper, epsilon: Swift.Float) -> Swift.Bool
final func isApproximatelyEqual(to: KnowledgeGraphKit.MAFloatMatrixWrapper) -> Swift.Bool
@objc func matrixByAddingScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatMatrixWrapper
@objc func matrixBySubtractingScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatMatrixWrapper
final func sum() -> Swift.Float
final func copy(with: ObjectiveC.NSZone?) -> Any
@objc func data() -> Foundation.Data
final func mean() -> Swift.Float
@objc func array() -> [[Swift.Float]]
final func float(at: Swift.Int, column: Swift.Int) -> Swift.Float
final func vector(_: Swift.Int) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc override func isEqual(_: Any?) -> Swift.Bool
static func ones(rows: Swift.Int, columns: Swift.Int) -> Self
static func zeros(rows: Swift.Int, columns: Swift.Int) -> Self
static func fromData(data: Foundation.Data, rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.MAFloatMatrixWrapper
static func repeating(element: Swift.Float, rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.MAFloatMatrixWrapper
deinit
}
class MAFloatVectorWrapper: __C.NSObject, __C.NSCopying, __C.NSMutableCopying {
var _floatVector: KnowledgeGraphKit.Vector
var floatVector: KnowledgeGraphKit.Vector {
get
}
init(floatVector: KnowledgeGraphKit.Vector)
init(array: [Swift.Float])
init(floats: Swift.UnsafePointer, count: Swift.Int)
init()
final var count: Swift.Int {
get
}
final var debugDescription: Swift.String {
get
}
final var description: Swift.String {
get
}
final var hash: Swift.Int {
get
}
@objc func dotProductWithWrapper(_: KnowledgeGraphKit.MAFloatVectorWrapper) -> Swift.Float
@objc func vectorByAddingVector(_: KnowledgeGraphKit.MAFloatVectorWrapper) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorByDividingByScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorByMultiplyingByScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorBySubtractingVector(_: KnowledgeGraphKit.MAFloatVectorWrapper) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorByElementwiseMultiplyingByWrapper(_: KnowledgeGraphKit.MAFloatVectorWrapper) -> KnowledgeGraphKit.MAFloatVectorWrapper
final func mutableCopy(with: ObjectiveC.NSZone?) -> Any
final func sumOfSquares() -> Swift.Float
final func naturalLogarithm() -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func standardDeviation() -> Swift.Float
final func isApproximatelyEqual(to: KnowledgeGraphKit.MAFloatVectorWrapper, epsilon: Swift.Float) -> Swift.Bool
final func isApproximatelyEqual(to: KnowledgeGraphKit.MAFloatVectorWrapper) -> Swift.Bool
@objc func vectorByAddingScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorBySubtractingScalar(_: Swift.Float) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func naturalLogarithmIfPositive() -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc func vectorByElementwiseRaisingToExponent(_: Swift.Float) -> KnowledgeGraphKit.MAFloatVectorWrapper
final func sum() -> Swift.Float
final func copy(with: ObjectiveC.NSZone?) -> Any
@objc func data() -> Foundation.Data
final func mean() -> Swift.Float
final func array() -> [Swift.Float]
final func float(at: Swift.Int) -> Swift.Float
@objc(sliceFromStart:toEnd:) func slice(from: Swift.Int, to: Swift.Int) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc override func isEqual(_: Any?) -> Swift.Bool
static func ones(count: Swift.Int) -> KnowledgeGraphKit.MAFloatVectorWrapper
static func zeros(count: Swift.Int) -> KnowledgeGraphKit.MAFloatVectorWrapper
@objc(repeatingFloat:count:) static func repeating(float: Swift.Float, count: Swift.Int) -> KnowledgeGraphKit.MAFloatVectorWrapper
deinit
}
class MAMutableFloatMatrixWrapper: KnowledgeGraphKit.MAFloatMatrixWrapper {
override var floatMatrix: KnowledgeGraphKit.Matrix {
get
set
}
override init(floatMatrix: KnowledgeGraphKit.Matrix)
override init(rows: [[Swift.Float]])
init()
@objc(setFloat:atRow:column:) func setFloat(_: Swift.Float, at: Swift.Int, column: Swift.Int)
@objc(addScalar:) func add(_: Swift.Float)
func copy(with: ObjectiveC.NSZone?) -> Any
@objc func subtract(_: KnowledgeGraphKit.MAFloatMatrixWrapper)
@objc(subtractScalar:) func subtract(_: Swift.Float)
@objc func appendRow(_: KnowledgeGraphKit.MAFloatVectorWrapper)
deinit
}
class MAMutableFloatVectorWrapper: KnowledgeGraphKit.MAFloatVectorWrapper {
override var floatVector: KnowledgeGraphKit.Vector {
get
set
}
override init(floatVector: KnowledgeGraphKit.Vector)
override init(array: [Swift.Float])
init()
func elementwiseMultiplyByWrapper(_: KnowledgeGraphKit.MAFloatVectorWrapper)
func setFloat(_: Swift.Float, at: Swift.Int)
@objc func elementwiseRaiseToExponent(_: Swift.Float)
@objc(addVector:) func add(_: KnowledgeGraphKit.MAFloatVectorWrapper)
@objc(addScalar:) func add(_: Swift.Float)
func copy(with: ObjectiveC.NSZone?) -> Any
func append(array: [Swift.Float])
func append(float: Swift.Float)
func append(floats: Swift.UnsafePointer, count: Swift.Int)
func append(vector: KnowledgeGraphKit.MAFloatVectorWrapper)
@objc(appendDoubles:count:) func append(doubles: Swift.UnsafePointer, count: Swift.Int)
@objc(divideByScalar:) func divide(_: Swift.Float)
@objc(multiplyByScalar:) func multiply(_: Swift.Float)
@objc(subtractVector:) func subtract(_: KnowledgeGraphKit.MAFloatVectorWrapper)
@objc(subtractScalar:) func subtract(_: Swift.Float)
deinit
}
enum KnowledgeGraphKit.CompoundFilter.CompoundType {
case and
case or
}
enum KnowledgeGraphKit.GraphStoreManager.Error {
case noReadonlyGraphAvailable
case failedToInstantiateStore
case storeNotFound
case failedToObtainGraphIdentifier
case noResultFromRead
}
enum Error {
case unknownColumnLabel(Swift.String)
case unknownRowLabel(Swift.String)
}
extension Accelerate.AccelerateBuffer {
func approximatelyEqual(to: A1, maxAbsoluteDifference: Self.Element, maxRelativeDifference: Self.Element) -> Swift.Bool where Self.Element: Swift.FloatingPoint
func approximatelyEqual(to: A1) -> Swift.Bool where Self.Element: Swift.FloatingPoint
}
extension __C.KGDegasGraphStore: KnowledgeGraphKit.GraphStore {}
extension __C.KGElementIdentifier {
var description: Swift.String {
get
}
func hash(into: inout Swift.Hasher)
func advanced(by: Swift.Int) -> __C.KGElementIdentifier
func distance(to: __C.KGElementIdentifier) -> Swift.Int
}
extension __C.KGElementIdentifier: @retroactive Swift.RawRepresentable {
typealias RawValue = Swift.UInt
}
extension __C.KGElementIdentifier: @retroactive Swift.Equatable {}
extension __C.KGElementIdentifier: Swift.Hashable {}
extension __C.KGElementIdentifier: Swift.Strideable {
typealias Stride = Swift.Int
}
extension __C.KGElementIdentifier: Swift.Comparable {}
extension __C.KGElementIdentifier: Swift.CustomStringConvertible {}
extension __C.KGElementIdentifierSet {
var elementIdentifiers: KnowledgeGraphKit.ElementIdentifierSet {
get
}
}
extension __C.KGElementIdentifierSetIndex {
static func < (_: __C.KGElementIdentifierSetIndex, _: __C.KGElementIdentifierSetIndex) -> Swift.Bool
static func == (_: __C.KGElementIdentifierSetIndex, _: __C.KGElementIdentifierSetIndex) -> Swift.Bool
}
extension __C.KGElementIdentifierSetIndex: @retroactive Swift.Comparable {}
extension __C.KGElementIdentifierSetIndex: @retroactive Swift.Equatable {}
extension __C.KGLabelBasedEntityFactory: KnowledgeGraphKit.EntityFactory {}
extension KnowledgeGraphKit.AbstractGraph {
func nodeIdentifiers(matching: any KnowledgeGraphKit.NodeFilter, in: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func nodeIdentifiers(matching: any KnowledgeGraphKit.NodeFilter) -> KnowledgeGraphKit.ElementIdentifierSet
}
extension KnowledgeGraphKit.AccelerateBufferWrapper {
func withUnsafeBufferPointer(_: (_: Swift.UnsafeBufferPointer) throws -> A1) throws -> A1
func test(function: (_: Self.Element) -> Swift.Bool) -> [Swift.Bool]
func masked(mask: [Swift.Bool], maskValues: Self) -> Self
func applyMask(mask: [Swift.Bool], maskValues: Self)
func sumOfSquares() -> Swift.Double where Self.Element == Swift.Double
func naturalLogarithm() -> Self where Self.Element == Swift.Double
func standardDeviation() -> Swift.Double where Self.Element == Swift.Double
func meanAndStandardDeviation() -> (mean: Swift.Double, deviation: Swift.Double) where Self.Element == Swift.Double
func sum() -> Swift.Double where Self.Element == Swift.Double
func mean() -> Swift.Double where Self.Element == Swift.Double
func maximum() -> Swift.Double where Self.Element == Swift.Double
func minimum() -> Swift.Double where Self.Element == Swift.Double
func normalize() -> (mean: Swift.Double, deviation: Swift.Double) where Self.Element == Swift.Double
func sumOfSquares() -> Swift.Float where Self.Element == Swift.Float
func naturalLogarithm() -> Self where Self.Element == Swift.Float
func standardDeviation() -> Swift.Float where Self.Element == Swift.Float
func meanAndStandardDeviation() -> (mean: Swift.Float, deviation: Swift.Float) where Self.Element == Swift.Float
func sum() -> Swift.Float where Self.Element == Swift.Float
func mean() -> Swift.Float where Self.Element == Swift.Float
func maximum() -> Swift.Float where Self.Element == Swift.Float
func minimum() -> Swift.Float where Self.Element == Swift.Float
func normalize() -> (mean: Swift.Float, deviation: Swift.Float) where Self.Element == Swift.Float
static func / (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func * (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func * (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func + (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func + (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func + (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func - (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Self) -> Self where Self.Element == Swift.Double
static func /= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func *= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func ** (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func += (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func += (_: inout Self, _: Self) where Self.Element == Swift.Double
static func -= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func -= (_: inout Self, _: Self) where Self.Element == Swift.Double
static func .* (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func .*= (_: inout Self, _: Self) where Self.Element == Swift.Double
static func .** (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func .**= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func / (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func * (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func * (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func + (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func + (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func + (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func - (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Self) -> Self where Self.Element == Swift.Float
static func /= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func *= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func ** (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func += (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func += (_: inout Self, _: Self) where Self.Element == Swift.Float
static func -= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func -= (_: inout Self, _: Self) where Self.Element == Swift.Float
static func .* (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func .*= (_: inout Self, _: Self) where Self.Element == Swift.Float
static func .** (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func .**= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
}
extension KnowledgeGraphKit.AnyEdge: KnowledgeGraphKit.Edge {
typealias SourceNode = KnowledgeGraphKit.AnyNode
typealias TargetNode = KnowledgeGraphKit.AnyNode
}
extension KnowledgeGraphKit.AnyNode: KnowledgeGraphKit.Node {}
extension KnowledgeGraphKit.BernoulliSampledIndexSequence: Swift.Sequence {
typealias Element = Swift.Int
typealias Iterator = KnowledgeGraphKit.BernoulliSampledIndexSequence
}
extension KnowledgeGraphKit.BernoulliSampledIndexSequence: Swift.IteratorProtocol {
typealias Element = Swift.Int
}
extension KnowledgeGraphKit.BinaryPredicate: KnowledgeGraphKit.FilterPredicate {}
extension KnowledgeGraphKit.BinaryPredicate: KnowledgeGraphKit.FilterProperty {}
extension KnowledgeGraphKit.ChainRelation: KnowledgeGraphKit.Relation {
typealias SourceElement = A
typealias TargetElement = B
}
extension KnowledgeGraphKit.CompoundFilter.CompoundType: Swift.Equatable {}
extension KnowledgeGraphKit.CompoundFilter.CompoundType: Swift.Hashable {}
extension KnowledgeGraphKit.ConcreteElementedTypedProperty: KnowledgeGraphKit.ElementedTypedProperty {
typealias Element = A
}
extension KnowledgeGraphKit.ConcreteElementedTypedProperty: KnowledgeGraphKit.TypedProperty {
typealias T = B
}
extension KnowledgeGraphKit.ConcreteElementedTypedProperty: KnowledgeGraphKit.Property {}
extension KnowledgeGraphKit.ConcreteGraph: KnowledgeGraphKit.AbstractGraph {
typealias T = A
}
extension KnowledgeGraphKit.ConcreteGraph: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.ConcreteTypedProperty: KnowledgeGraphKit.TypedProperty {
typealias T = A
}
extension KnowledgeGraphKit.ConcreteTypedProperty: KnowledgeGraphKit.Property {}
extension KnowledgeGraphKit.ElementCollection {
var count: Swift.Int {
get
}
var endIndex: __C.KGElementIdentifierSetIndex {
get
}
var isEmpty: Swift.Bool {
get
}
var startIndex: __C.KGElementIdentifierSetIndex {
get
}
func index(after: __C.KGElementIdentifierSetIndex) -> __C.KGElementIdentifierSetIndex
func valuesOf(_: any KnowledgeGraphKit.TypedProperty) -> [(identifier: KnowledgeGraphKit.ElementIdentifier, value: A1)]
subscript(_: __C.KGElementIdentifierSetIndex) -> KnowledgeGraphKit.ElementIdentifier {
get
}
}
extension KnowledgeGraphKit.ElementIdentifier: Swift.Equatable {}
extension KnowledgeGraphKit.ElementIdentifier: Swift.Hashable {}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.Equatable {}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.Collection {
typealias Element = KnowledgeGraphKit.ElementIdentifier
typealias Index = __C.KGElementIdentifierSetIndex
typealias Iterator = Swift.IndexingIterator
typealias SubSequence = Swift.Slice
typealias Indices = Swift.DefaultIndices
}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.Sequence {
typealias Element = KnowledgeGraphKit.ElementIdentifier
typealias Iterator = Swift.IndexingIterator
}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.Hashable {}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.ExpressibleByArrayLiteral {
typealias ArrayLiteralElement = KnowledgeGraphKit.ElementIdentifier
}
extension KnowledgeGraphKit.ElementIdentifierSet: Swift.SetAlgebra {
typealias Element = KnowledgeGraphKit.ElementIdentifier
}
extension KnowledgeGraphKit.ElementIdentifierTupleSet: Swift.Hashable {}
extension KnowledgeGraphKit.ElementIdentifierTupleSet: Swift.Equatable {}
extension KnowledgeGraphKit.ElementIdentifierTupleSet: Swift.ExpressibleByArrayLiteral {
typealias ArrayLiteralElement = (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)
}
extension KnowledgeGraphKit.ElementIdentifierTupleSet: Swift.SetAlgebra {
typealias Element = (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)
}
extension KnowledgeGraphKit.ElementIdentifierTupleSet: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.Filter where A: KnowledgeGraphKit.Edge {
var inRelation: KnowledgeGraphKit.NeighborRelationIn {
get
}
var kgFilter: __C.KGEdgeFilter {
get
}
var outRelation: KnowledgeGraphKit.NeighborRelationOut {
get
}
}
extension KnowledgeGraphKit.Filter where A: KnowledgeGraphKit.Node {
var kgFilter: __C.KGNodeFilter {
get
}
var relation: KnowledgeGraphKit.NodeFilterRelation {
get
}
}
extension KnowledgeGraphKit.Filter {
init() where A == KnowledgeGraphKit.AnyNode
}
extension KnowledgeGraphKit.Filter: KnowledgeGraphKit.NodeFilter where A: KnowledgeGraphKit.Node {}
extension KnowledgeGraphKit.Filter: KnowledgeGraphKit.EdgeFilter where A: KnowledgeGraphKit.Edge {}
extension KnowledgeGraphKit.FilterProperties: Swift.ExpressibleByDictionaryLiteral {
typealias Key = any KnowledgeGraphKit.Property
typealias Value = any KnowledgeGraphKit.FilterProperty
}
extension KnowledgeGraphKit.GraphManager: Swift.Actor {}
extension KnowledgeGraphKit.GraphStoreManager: Swift.Actor {}
extension KnowledgeGraphKit.GraphStoreManager.Error: Swift.Hashable {}
extension KnowledgeGraphKit.GraphStoreManager.Error: Swift.Equatable {}
extension KnowledgeGraphKit.GraphStoreManager.Error: Swift.Error {}
extension KnowledgeGraphKit.GraphStoreManager.GraphStoreManagerRepository: Swift.Actor {}
extension KnowledgeGraphKit.Matrix where A: Swift.Hashable {
var hashValue: Swift.Int {
get
}
}
extension KnowledgeGraphKit.Matrix {
func hash(into: inout Swift.Hasher) where A: Swift.Hashable
func transposed() -> KnowledgeGraphKit.Matrix where A == Swift.Double
func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Double
func mean(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Double
func divide(by: KnowledgeGraphKit.Vector, along: __C.MAMatrixAxis) where A == Swift.Double
func magnitude(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Double
func normalizeAndReturnMeanAndStandardDeviation(along: __C.MAMatrixAxis) -> (mean: KnowledgeGraphKit.Vector, deviation: KnowledgeGraphKit.Vector) where A == Swift.Float
func transposed() -> KnowledgeGraphKit.Matrix where A == Swift.Float
func normalizeMagnitude(along: __C.MAMatrixAxis) where A == Swift.Float
func meanAndStandardDeviation(along: __C.MAMatrixAxis) -> (means: KnowledgeGraphKit.Vector, standardDeviations: KnowledgeGraphKit.Vector) where A == Swift.Float
func normalizeMeanAndStandardDeviation(along: __C.MAMatrixAxis) where A == Swift.Float
func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Float
func mean(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Float
func divide(by: KnowledgeGraphKit.Vector, along: __C.MAMatrixAxis) where A == Swift.Float
func magnitude(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector where A == Swift.Float
subscript(columnIndices: [Swift.Int]) -> KnowledgeGraphKit.Matrix where A == Swift.Double {
get
}
subscript(columnIndices: [Swift.Int]) -> KnowledgeGraphKit.Matrix where A == Swift.Float {
get
}
static func == (_: KnowledgeGraphKit.Matrix, _: KnowledgeGraphKit.Matrix) -> Swift.Bool where A: Swift.Equatable
static func * (_: KnowledgeGraphKit.Matrix, _: KnowledgeGraphKit.Matrix) -> KnowledgeGraphKit.Matrix where A == Swift.Double
static func * (_: KnowledgeGraphKit.Matrix, _: KnowledgeGraphKit.Matrix) -> KnowledgeGraphKit.Matrix where A == Swift.Float
static func ones(rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.Matrix where A: Swift.ExpressibleByIntegerLiteral
static func zeros(rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.Matrix where A: Swift.ExpressibleByIntegerLiteral
}
extension KnowledgeGraphKit.Matrix: Swift.Equatable where A: Swift.Equatable {}
extension KnowledgeGraphKit.Matrix: Swift.Hashable where A: Swift.Hashable {}
extension KnowledgeGraphKit.Matrix: Swift.ExpressibleByArrayLiteral {
typealias ArrayLiteralElement = [A]
}
extension KnowledgeGraphKit.Matrix: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.Matrix: KnowledgeGraphKit.AccelerateBufferWrapper {
typealias Shape = KnowledgeGraphKit.Matrix.Shape
}
extension KnowledgeGraphKit.Matrix: Accelerate.AccelerateMutableBuffer {}
extension KnowledgeGraphKit.Matrix: Accelerate.AccelerateBuffer {
typealias Element = A
}
extension KnowledgeGraphKit.Matrix.Shape: Swift.Hashable {}
extension KnowledgeGraphKit.Matrix.Shape: Swift.Equatable {}
extension KnowledgeGraphKit.Matrix.Shape: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.NeighborRelationIn: KnowledgeGraphKit.Relation {
typealias SourceElement = A.TargetNode
typealias TargetElement = A.SourceNode
}
extension KnowledgeGraphKit.NeighborRelationInOut: KnowledgeGraphKit.Relation {
typealias SourceElement = A.TargetNode
typealias TargetElement = A.SourceNode
}
extension KnowledgeGraphKit.NeighborRelationOut: KnowledgeGraphKit.Relation {
typealias SourceElement = A.SourceNode
typealias TargetElement = A.TargetNode
}
extension KnowledgeGraphKit.NodeAdjacency {
static func identity(with: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeAdjacency where A == B
}
extension KnowledgeGraphKit.NodeCollection {
static func fetch(in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.NodeCollection where A: KnowledgeGraphKit.FilterableNode
static func fetch(with: any KnowledgeGraphKit.NodeFilter, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.NodeCollection where A: KnowledgeGraphKit.FilterableNode
static func fetch(with: KnowledgeGraphKit.CompoundFilter, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.NodeCollection where A: KnowledgeGraphKit.FilterableNode
}
extension KnowledgeGraphKit.NodeCollection: KnowledgeGraphKit.ElementCollection {}
extension KnowledgeGraphKit.NodeCollection: Swift.Collection {
typealias Element = KnowledgeGraphKit.ElementIdentifier
typealias Index = __C.KGElementIdentifierSetIndex
typealias Iterator = Swift.IndexingIterator>
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.DefaultIndices>
}
extension KnowledgeGraphKit.NodeCollection: Swift.Sequence {
typealias Element = KnowledgeGraphKit.ElementIdentifier
typealias Iterator = Swift.IndexingIterator>
}
extension KnowledgeGraphKit.NodeFilterRelation: KnowledgeGraphKit.Relation {
typealias SourceElement = A
typealias TargetElement = A
}
extension KnowledgeGraphKit.SeededRandomNumberGenerator: Swift.RandomNumberGenerator {}
extension KnowledgeGraphKit.SparseArray where A: Swift.Hashable {
var hashValue: Swift.Int {
get
}
}
extension KnowledgeGraphKit.SparseArray where A: Swift.AdditiveArithmetic {
static var zero: KnowledgeGraphKit.SparseArray {
get
}
}
extension KnowledgeGraphKit.SparseArray {
func hash(into: inout Swift.Hasher) where A: Swift.Hashable
static func + (_: KnowledgeGraphKit.SparseArray, _: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray where A: Swift.AdditiveArithmetic
static func - (_: KnowledgeGraphKit.SparseArray, _: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray where A: Swift.AdditiveArithmetic
static func += (_: inout KnowledgeGraphKit.SparseArray, _: KnowledgeGraphKit.SparseArray) where A: Swift.AdditiveArithmetic
static func -= (_: inout KnowledgeGraphKit.SparseArray, _: KnowledgeGraphKit.SparseArray) where A: Swift.AdditiveArithmetic
}
extension KnowledgeGraphKit.SparseArray: Swift.Equatable {}
extension KnowledgeGraphKit.SparseArray: KnowledgeGraphKit.SparseArrayProtocol {
typealias Value = A
}
extension KnowledgeGraphKit.SparseArray: KnowledgeGraphKit.SparseElement {}
extension KnowledgeGraphKit.SparseArray: Swift.ExpressibleByArrayLiteral {
typealias ArrayLiteralElement = A
}
extension KnowledgeGraphKit.SparseArray: Swift.AdditiveArithmetic where A: Swift.AdditiveArithmetic {}
extension KnowledgeGraphKit.SparseArray: Swift.Hashable where A: Swift.Hashable {}
extension KnowledgeGraphKit.SparseArray: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.SparseArrayProtocol {
func scalingRows(with: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
func scalingColumns(with: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
func transposed() -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol
func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.SparseArray where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.AdditiveArithmetic
func mapSparseValues(_: (_: Self.Value) throws -> A1) throws -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseElement
func dotProduct(with: A1, add: (inout Self.Value, Self.Value) -> (), multiply: (Self.Value, Self.Value) -> Self.Value) -> Self.Value where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func intersection(with: A1, combine: (Self.Value, A1.Value) -> B1) -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
func mapIntersection(with: A1, initialValue: B1, update: (inout B1, Self.Value) -> (), combine: (Self.Value, Self.Value) -> Self.Value) -> B1 where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func sparseKroneckerMap(with: A1, combine: (Self.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray> where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
func union(with: A1, combine: (inout Self.Value, Self.Value) -> ()) -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func reduce(into: A1, update: (inout A1, Self.Value) -> ()) -> A1 where A1: KnowledgeGraphKit.SparseElement
func dotProduct(with: A1) -> Self.Value where Self.Value: Swift.Numeric
func sum() -> Self.Value where Self.Value: Swift.AdditiveArithmetic
static func * (_: Self, _: A1) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Double
static func * (_: Self, _: A1) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Float
static func / (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Swift.Double, _: Self) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Self, _: KnowledgeGraphKit.Vector) -> Swift.Double where Self.Value == Swift.Double
static func * (_: Self, _: A1) -> Swift.Double where Self.Value == Swift.Double
static func .** (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func / (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Swift.Float, _: Self) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Self, _: KnowledgeGraphKit.Vector) -> Swift.Float where Self.Value == Swift.Float
static func * (_: Self, _: A1) -> Swift.Float where Self.Value == Swift.Float
static func .** (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
}
extension KnowledgeGraphKit.SparseElement where Self: Swift.AdditiveArithmetic {
static var defaultSparseValue: Self {
get
}
}
extension KnowledgeGraphKit.SparseValues: Swift.RandomAccessCollection {
typealias Element = (Swift.Int64, A.Value)
typealias Index = Swift.Int
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.SparseValues: Swift.BidirectionalCollection {
typealias Element = (Swift.Int64, A.Value)
typealias Index = Swift.Int
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.SparseValues: Swift.Collection {
typealias Element = (Swift.Int64, A.Value)
typealias Index = Swift.Int
typealias Iterator = Swift.IndexingIterator>
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.SparseValues: Swift.Sequence {
typealias Element = (Swift.Int64, A.Value)
typealias Iterator = Swift.IndexingIterator>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.Intersection: Swift.Collection {
typealias Element = A
typealias Index = KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index
typealias Iterator = Swift.IndexingIterator.Intersection>
typealias SubSequence = Swift.Slice.Intersection>
typealias Indices = Swift.DefaultIndices.Intersection>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.Intersection: Swift.Sequence {
typealias Element = A
typealias Iterator = Swift.IndexingIterator.Intersection>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index: Swift.Comparable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index: Swift.Equatable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.SearchResult: Swift.Equatable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference: Swift.Collection {
typealias Element = A
typealias Index = KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index
typealias Iterator = Swift.IndexingIterator.SymmetricDifference>
typealias SubSequence = Swift.Slice.SymmetricDifference>
typealias Indices = Swift.DefaultIndices.SymmetricDifference>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference: Swift.Sequence {
typealias Element = A
typealias Iterator = Swift.IndexingIterator.SymmetricDifference>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index: Swift.Comparable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index: Swift.Equatable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.Union: Swift.Collection {
typealias Element = A
typealias Index = KnowledgeGraphKit.UniqueSortedBuffer.Union.Index
typealias Iterator = Swift.IndexingIterator.Union>
typealias SubSequence = Swift.Slice.Union>
typealias Indices = Swift.DefaultIndices.Union>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.Union: Swift.Sequence {
typealias Element = A
typealias Iterator = Swift.IndexingIterator.Union>
}
extension KnowledgeGraphKit.UniqueSortedBuffer.Union.Index: Swift.Comparable {}
extension KnowledgeGraphKit.UniqueSortedBuffer.Union.Index: Swift.Equatable {}
extension KnowledgeGraphKit.Vector where A: Swift.Hashable {
var hashValue: Swift.Int {
get
}
}
extension KnowledgeGraphKit.Vector {
func hash(into: inout Swift.Hasher) where A: Swift.Hashable
static func == (_: KnowledgeGraphKit.Vector, _: KnowledgeGraphKit.Vector) -> Swift.Bool where A: Swift.Equatable
static func * (_: KnowledgeGraphKit.Vector, _: KnowledgeGraphKit.Vector) -> Swift.Double where A == Swift.Double
static func * (_: KnowledgeGraphKit.Vector, _: KnowledgeGraphKit.Vector) -> Swift.Float where A == Swift.Float
static func *= (_: inout KnowledgeGraphKit.Vector, _: A) where A: Swift.Numeric
static func ones(count: Swift.Int) -> KnowledgeGraphKit.Vector where A: Swift.ExpressibleByIntegerLiteral
static func zeros(count: Swift.Int) -> KnowledgeGraphKit.Vector where A: Swift.ExpressibleByIntegerLiteral
}
extension KnowledgeGraphKit.Vector: Swift.Equatable where A: Swift.Equatable {}
extension KnowledgeGraphKit.Vector: Swift.Hashable where A: Swift.Hashable {}
extension KnowledgeGraphKit.Vector: Swift.ExpressibleByArrayLiteral {
typealias ArrayLiteralElement = A
}
extension KnowledgeGraphKit.Vector: Swift.CustomStringConvertible {}
extension KnowledgeGraphKit.Vector: Swift.CustomDebugStringConvertible {}
extension KnowledgeGraphKit.Vector: KnowledgeGraphKit.AccelerateBufferWrapper {
typealias Shape = Swift.Int
}
extension KnowledgeGraphKit.Vector: Accelerate.AccelerateMutableBuffer {}
extension KnowledgeGraphKit.Vector: Accelerate.AccelerateBuffer {
typealias Element = A
}
extension KnowledgeGraphKit.Vector: Swift.RandomAccessCollection {
typealias Element = A
typealias Index = Swift.Int
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.Vector: Swift.BidirectionalCollection {
typealias Element = A
typealias Index = Swift.Int
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.Vector: Swift.Collection {
typealias Element = A
typealias Index = Swift.Int
typealias Iterator = Swift.IndexingIterator>
typealias SubSequence = Swift.Slice>
typealias Indices = Swift.Range
}
extension KnowledgeGraphKit.Vector: Swift.Sequence {
typealias Element = A
typealias Iterator = Swift.IndexingIterator>
}
extension __C.MADataFrame {
enum Error {
case unknownColumnLabel(Swift.String)
case unknownRowLabel(Swift.String)
}
func columnLabelValuesByRowLabel(withThreshold: Swift.Float) throws -> [Swift.String : [Swift.String : Swift.Float]]
func normalizedByRowMagnitude() -> __C.MADataFrame?
func row(forLabel: Swift.String) throws -> __C.MASeries
func slice(name: Swift.String?, columnLabels: [Swift.String]) throws -> __C.MADataFrame?
}
extension __C.MADataFrame.Error: Swift.Error {}
extension __C.MAProgressReporter {
func splitEvenly(sequentialOperationCount: Swift.Int) -> [__C.MAProgressReporter]
func checkCancelled() throws
func reportProgress(completedUnits: Swift.Int, outOf: Swift.Int) throws
func reportProgress(_: Swift.Double) throws
func reportCompleted() throws
func split(splitPoints: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter)
func split(splitPoints: [Swift.Double]) -> [__C.MAProgressReporter]
func split(splitPoints: Swift.Double, _: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter)
func split(splitPoints: Swift.Double, _: Swift.Double, _: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter)
func split(splitPoints: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter)
func split(splitPoints: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter)
func split(splitPoints: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double, _: Swift.Double) -> (__C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter, __C.MAProgressReporter)
func observe(_: __C.NSProgress) -> Foundation.NSKeyValueObservation
}
extension Swift.Array: KnowledgeGraphKit.FilterProperty where A: KnowledgeGraphKit.FilterProperty {}
extension Swift.Bool: KnowledgeGraphKit.FilterProperty {}
extension Swift.Bool: KnowledgeGraphKit.PropertyType {}
extension Swift.Double: KnowledgeGraphKit.FilterProperty {}
extension Swift.Double: KnowledgeGraphKit.SparseElement {}
extension Swift.Double: KnowledgeGraphKit.PropertyType {}
extension Swift.Float: KnowledgeGraphKit.SparseElement {}
extension Swift.FloatingPoint {
static var absoluteDifferenceBound: Self {
get
}
static var relativeDifferenceBound: Self {
get
}
static func approximatelyEqual(_: Self, _: Self, maxAbsoluteDifference: Self, maxRelativeDifference: Self) -> Swift.Bool
static func approximatelyEqual(_: Self, _: Self) -> Swift.Bool
}
extension Swift.Int: KnowledgeGraphKit.FilterProperty {}
extension Swift.Int: KnowledgeGraphKit.PropertyType {}
extension Swift.String: KnowledgeGraphKit.FilterProperty {}
extension Swift.String: KnowledgeGraphKit.PropertyType {}
protocol AbstractGraph where Self.T: __C.KGGraph {
associatedtype T
var kgGraph: Self.T {
get
}
}
extension KnowledgeGraphKit.AbstractGraph {
func nodeIdentifiers(matching: any KnowledgeGraphKit.NodeFilter, in: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func nodeIdentifiers(matching: any KnowledgeGraphKit.NodeFilter) -> KnowledgeGraphKit.ElementIdentifierSet
}
protocol AccelerateBufferWrapper: Accelerate.AccelerateMutableBuffer where Self.Shape: Swift.Equatable {
associatedtype Shape
init(elements: [Self.Element], shape: Self.Shape)
var elements: [Self.Element] {
get
}
var shape: Self.Shape {
get
}
}
extension KnowledgeGraphKit.AccelerateBufferWrapper {
func withUnsafeBufferPointer(_: (_: Swift.UnsafeBufferPointer) throws -> A1) throws -> A1
func test(function: (_: Self.Element) -> Swift.Bool) -> [Swift.Bool]
func masked(mask: [Swift.Bool], maskValues: Self) -> Self
func applyMask(mask: [Swift.Bool], maskValues: Self)
func sumOfSquares() -> Swift.Double where Self.Element == Swift.Double
func naturalLogarithm() -> Self where Self.Element == Swift.Double
func standardDeviation() -> Swift.Double where Self.Element == Swift.Double
func meanAndStandardDeviation() -> (mean: Swift.Double, deviation: Swift.Double) where Self.Element == Swift.Double
func sum() -> Swift.Double where Self.Element == Swift.Double
func mean() -> Swift.Double where Self.Element == Swift.Double
func maximum() -> Swift.Double where Self.Element == Swift.Double
func minimum() -> Swift.Double where Self.Element == Swift.Double
func normalize() -> (mean: Swift.Double, deviation: Swift.Double) where Self.Element == Swift.Double
func sumOfSquares() -> Swift.Float where Self.Element == Swift.Float
func naturalLogarithm() -> Self where Self.Element == Swift.Float
func standardDeviation() -> Swift.Float where Self.Element == Swift.Float
func meanAndStandardDeviation() -> (mean: Swift.Float, deviation: Swift.Float) where Self.Element == Swift.Float
func sum() -> Swift.Float where Self.Element == Swift.Float
func mean() -> Swift.Float where Self.Element == Swift.Float
func maximum() -> Swift.Float where Self.Element == Swift.Float
func minimum() -> Swift.Float where Self.Element == Swift.Float
func normalize() -> (mean: Swift.Float, deviation: Swift.Float) where Self.Element == Swift.Float
static func / (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func * (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func * (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func + (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func + (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func + (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func - (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func - (_: Self) -> Self where Self.Element == Swift.Double
static func /= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func *= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func ** (_: Swift.Double, _: Self) -> Self where Self.Element == Swift.Double
static func += (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func += (_: inout Self, _: Self) where Self.Element == Swift.Double
static func -= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func -= (_: inout Self, _: Self) where Self.Element == Swift.Double
static func .* (_: Self, _: Self) -> Self where Self.Element == Swift.Double
static func .*= (_: inout Self, _: Self) where Self.Element == Swift.Double
static func .** (_: Self, _: Swift.Double) -> Self where Self.Element == Swift.Double
static func .**= (_: inout Self, _: Swift.Double) where Self.Element == Swift.Double
static func / (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func * (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func * (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func + (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func + (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func + (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func - (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func - (_: Self) -> Self where Self.Element == Swift.Float
static func /= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func *= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func ** (_: Swift.Float, _: Self) -> Self where Self.Element == Swift.Float
static func += (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func += (_: inout Self, _: Self) where Self.Element == Swift.Float
static func -= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
static func -= (_: inout Self, _: Self) where Self.Element == Swift.Float
static func .* (_: Self, _: Self) -> Self where Self.Element == Swift.Float
static func .*= (_: inout Self, _: Self) where Self.Element == Swift.Float
static func .** (_: Self, _: Swift.Float) -> Self where Self.Element == Swift.Float
static func .**= (_: inout Self, _: Swift.Float) where Self.Element == Swift.Float
}
protocol Edge where Self.SourceNode: KnowledgeGraphKit.Node, Self.TargetNode: KnowledgeGraphKit.Node {
associatedtype SourceNode
associatedtype TargetNode
}
protocol EdgeFilter {
var allOfLabels: [Swift.String] {
get
}
var anyOfLabels: [Swift.String] {
get
}
var kgFilter: __C.KGEdgeFilter {
get
}
var properties: KnowledgeGraphKit.FilterProperties {
get
}
}
protocol ElementCollection: Swift.Collection {
var graph: any KnowledgeGraphKit.AbstractGraph {
get
}
var identifiers: KnowledgeGraphKit.ElementIdentifierSet {
get
}
func enumerateValuesOf(_: any KnowledgeGraphKit.TypedProperty, using: (KnowledgeGraphKit.ElementIdentifier, A1, inout Swift.Bool) throws -> ()) throws
}
extension KnowledgeGraphKit.ElementCollection {
var count: Swift.Int {
get
}
var endIndex: __C.KGElementIdentifierSetIndex {
get
}
var isEmpty: Swift.Bool {
get
}
var startIndex: __C.KGElementIdentifierSetIndex {
get
}
func index(after: __C.KGElementIdentifierSetIndex) -> __C.KGElementIdentifierSetIndex
func valuesOf(_: any KnowledgeGraphKit.TypedProperty) -> [(identifier: KnowledgeGraphKit.ElementIdentifier, value: A1)]
subscript(_: __C.KGElementIdentifierSetIndex) -> KnowledgeGraphKit.ElementIdentifier {
get
}
}
protocol ElementedTypedProperty: KnowledgeGraphKit.TypedProperty {
associatedtype Element
}
protocol EntityFactory: __C.KGEntityFactory {}
protocol FilterPredicate {
// Kind: Getter, isAsync: false, isInstance: true
}
protocol FilterProperty {}
protocol FilterableEdge: KnowledgeGraphKit.Edge {
static var filter: KnowledgeGraphKit.Filter {
get
}
}
protocol FilterableNode: KnowledgeGraphKit.Node {
static var filter: KnowledgeGraphKit.Filter {
get
}
}
protocol GraphStore: __C.KGGraphStore {}
protocol Node {}
protocol NodeFilter {
var allOfLabels: [Swift.String] {
get
}
var anyOfLabels: [Swift.String] {
get
}
var kgFilter: __C.KGNodeFilter {
get
}
var properties: KnowledgeGraphKit.FilterProperties {
get
}
}
protocol Property {
var key: Swift.String {
get
}
}
protocol PropertyType {}
protocol Relation {
associatedtype SourceElement
associatedtype TargetElement
func targetNodeIdentifiers(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.ElementIdentifierSet
func adjacency(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func adjacencyByJoining(with: KnowledgeGraphKit.DirectedBinaryAdjacency, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func inverse() -> any KnowledgeGraphKit.Relation
}
protocol SparseArrayProtocol where Self.Value: KnowledgeGraphKit.SparseElement {
associatedtype Value
var sparseValueIndices: [Swift.Int64] {
get
}
var sparseValues: [Self.Value] {
get
}
func withBuffer(transform: (_: KnowledgeGraphKit.SparseBuffer) throws -> A1) throws -> A1
}
extension KnowledgeGraphKit.SparseArrayProtocol {
func scalingRows(with: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
func scalingColumns(with: KnowledgeGraphKit.SparseArray) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
func transposed() -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol
func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.SparseArray where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.AdditiveArithmetic
func mapSparseValues(_: (_: Self.Value) throws -> A1) throws -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseElement
func dotProduct(with: A1, add: (inout Self.Value, Self.Value) -> (), multiply: (Self.Value, Self.Value) -> Self.Value) -> Self.Value where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func intersection(with: A1, combine: (Self.Value, A1.Value) -> B1) -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
func mapIntersection(with: A1, initialValue: B1, update: (inout B1, Self.Value) -> (), combine: (Self.Value, Self.Value) -> Self.Value) -> B1 where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func sparseKroneckerMap(with: A1, combine: (Self.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray> where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
func union(with: A1, combine: (inout Self.Value, Self.Value) -> ()) -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
func reduce(into: A1, update: (inout A1, Self.Value) -> ()) -> A1 where A1: KnowledgeGraphKit.SparseElement
func dotProduct(with: A1) -> Self.Value where Self.Value: Swift.Numeric
func sum() -> Self.Value where Self.Value: Swift.AdditiveArithmetic
static func * (_: Self, _: A1) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Double
static func * (_: Self, _: A1) -> KnowledgeGraphKit.SparseArray> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Float
static func / (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Swift.Double, _: Self) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func * (_: Self, _: KnowledgeGraphKit.Vector) -> Swift.Double where Self.Value == Swift.Double
static func * (_: Self, _: A1) -> Swift.Double where Self.Value == Swift.Double
static func .** (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Double
static func / (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Swift.Float, _: Self) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
static func * (_: Self, _: KnowledgeGraphKit.Vector) -> Swift.Float where Self.Value == Swift.Float
static func * (_: Self, _: A1) -> Swift.Float where Self.Value == Swift.Float
static func .** (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray where Self.Value == Swift.Float
}
protocol SparseElement: Swift.Equatable {
static var defaultSparseValue: Self {
get
}
}
extension KnowledgeGraphKit.SparseElement where Self: Swift.AdditiveArithmetic {
static var defaultSparseValue: Self {
get
}
}
protocol TypedProperty: KnowledgeGraphKit.Property where Self.T: KnowledgeGraphKit.PropertyType {
associatedtype T
}
struct AnyEdge {}
struct AnyNode {}
struct BernoulliSampledIndexSequence {
var currentElement: Swift.Int
let p: Swift.Double
let max: Swift.Int
let cachedDenominator: Swift.Double
init(p: Swift.Double, max: Swift.Int)
func next() -> Swift.Int?
}
struct BinaryPredicate where A: KnowledgeGraphKit.PropertyType {
let kgPredicate: Any
init(comparator: __C.KGPredicateComparator, value: A)
}
struct ChainRelation where A: KnowledgeGraphKit.Node, B: KnowledgeGraphKit.Node {
let relations: [any KnowledgeGraphKit.Relation]
init(relations: [any KnowledgeGraphKit.Relation])
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
}
struct CompoundFilter {
enum CompoundType {
case and
case or
}
let filters: [KnowledgeGraphKit.Filter]
let type: KnowledgeGraphKit.CompoundFilter.CompoundType
static func or(_: [KnowledgeGraphKit.Filter]) -> KnowledgeGraphKit.CompoundFilter
static func and(_: [KnowledgeGraphKit.Filter]) -> KnowledgeGraphKit.CompoundFilter
}
struct ConcreteElementedTypedProperty where B: KnowledgeGraphKit.PropertyType {
let key: Swift.String
init(_: Swift.String)
}
struct ConcreteTypedProperty where A: KnowledgeGraphKit.PropertyType {
let key: Swift.String
init(_: Swift.String)
}
struct ConfusionMatrix {
let truePositiveCount: Swift.Float
let trueNegativeCount: Swift.Float
let falsePositiveCount: Swift.Float
let falseNegativeCount: Swift.Float
init(truePositiveCount: Swift.Float, trueNegativeCount: Swift.Float, falsePositiveCount: Swift.Float, falseNegativeCount: Swift.Float)
init()
var conditionNegativeCount: Swift.Float {
get
}
var conditionPositiveCount: Swift.Float {
get
}
var f1Score: Swift.Float {
get
}
var mccScore: Swift.Float {
get
}
var precision: Swift.Float? {
get
}
var predictedNegativeCount: Swift.Float {
get
}
var predictedPositiveCount: Swift.Float {
get
}
var recall: Swift.Float? {
get
}
var totalCount: Swift.Float {
get
}
}
struct DirectedBinaryAdjacency {
var adjacency: KnowledgeGraphKit.ElementIdentifierTupleSet
init(adjacency: KnowledgeGraphKit.ElementIdentifierTupleSet)
init()
var sources: KnowledgeGraphKit.ElementIdentifierSet {
get
}
var sourcesCount: Swift.Int {
get
}
var targets: KnowledgeGraphKit.ElementIdentifierSet {
get
}
func setTargets(_: KnowledgeGraphKit.ElementIdentifierSet, for: KnowledgeGraphKit.ElementIdentifier)
func transposed() -> KnowledgeGraphKit.DirectedBinaryAdjacency
func subtracting(_: KnowledgeGraphKit.DirectedBinaryAdjacency) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func joinOnTargets(_: KnowledgeGraphKit.DirectedBinaryAdjacency) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func removeTargets(for: KnowledgeGraphKit.ElementIdentifier)
func subtractingSources(with: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func subtractingTargets(with: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func intersectingSources(with: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func intersectingTargets(with: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func enumerateTargetsBySource(with: (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifierSet, Swift.UnsafeMutablePointer) -> ())
func union(with: KnowledgeGraphKit.DirectedBinaryAdjacency) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func insert(source: KnowledgeGraphKit.ElementIdentifier, target: KnowledgeGraphKit.ElementIdentifier)
func remove(source: KnowledgeGraphKit.ElementIdentifier, target: KnowledgeGraphKit.ElementIdentifier)
func targets(forSources: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func targets(forSourceIdentifier: KnowledgeGraphKit.ElementIdentifier) -> KnowledgeGraphKit.ElementIdentifierSet
func targets(minCount: Swift.UInt) -> KnowledgeGraphKit.ElementIdentifierSet
func contains(source: KnowledgeGraphKit.ElementIdentifier, target: KnowledgeGraphKit.ElementIdentifier) -> Swift.Bool
func subtract(_: KnowledgeGraphKit.DirectedBinaryAdjacency)
func formUnion(_: KnowledgeGraphKit.DirectedBinaryAdjacency)
}
struct ElementIdentifier {
let rawValue: Swift.UInt
}
struct ElementIdentifierSet {
var box: KnowledgeGraphKit.Box<__C.KGMutableElementIdentifierSet>
init(arrayLiteral: KnowledgeGraphKit.ElementIdentifier...)
init()
init(_: __C.KGElementIdentifierSet)
init(_: Swift.Slice)
init(_: KnowledgeGraphKit.ElementIdentifier)
var count: Swift.Int {
get
}
var description: Swift.String {
get
}
var endIndex: __C.KGElementIdentifierSetIndex {
get
}
var indexSet: Foundation.IndexSet {
get
}
var isEmpty: Swift.Bool {
get
}
var sparseOffsetArray: [Swift.Int64] {
get
}
var startIndex: __C.KGElementIdentifierSetIndex {
get
}
func intersects(_: KnowledgeGraphKit.ElementIdentifierSet) -> Swift.Bool
func isDisjoint(with: KnowledgeGraphKit.ElementIdentifierSet) -> Swift.Bool
func sparseArray(of: A.Type) -> KnowledgeGraphKit.SparseArray where A: KnowledgeGraphKit.SparseElement, A: Swift.ExpressibleByIntegerLiteral
func subtracting(_: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func intersection(_: KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func wrappedValue() -> __C.KGElementIdentifierSet
func formIntersection(_: KnowledgeGraphKit.ElementIdentifierSet)
func symmetricDifference(_: consuming KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func formSymmetricDifference(_: consuming KnowledgeGraphKit.ElementIdentifierSet)
func index(after: __C.KGElementIdentifierSetIndex) -> __C.KGElementIdentifierSetIndex
func union(_: consuming KnowledgeGraphKit.ElementIdentifierSet) -> KnowledgeGraphKit.ElementIdentifierSet
func insert(_: consuming KnowledgeGraphKit.ElementIdentifier) -> (inserted: Swift.Bool, memberAfterInsert: KnowledgeGraphKit.ElementIdentifier)
func remove(_: KnowledgeGraphKit.ElementIdentifier) -> KnowledgeGraphKit.ElementIdentifier?
func update(with: consuming KnowledgeGraphKit.ElementIdentifier) -> KnowledgeGraphKit.ElementIdentifier?
func contains(_: KnowledgeGraphKit.ElementIdentifier) -> Swift.Bool
func subtract(_: KnowledgeGraphKit.ElementIdentifierSet)
func formUnion(_: consuming KnowledgeGraphKit.ElementIdentifierSet)
func withValue(_: (_: __C.KGElementIdentifierSet) throws -> A) throws -> A
subscript(_: __C.KGElementIdentifierSetIndex) -> KnowledgeGraphKit.ElementIdentifier {
get
}
}
struct ElementIdentifierTupleSet {
var targetsBySource: [KnowledgeGraphKit.ElementIdentifier : KnowledgeGraphKit.ElementIdentifierSet]
init(arrayLiteral: (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)...)
init(targetsBySource: [KnowledgeGraphKit.ElementIdentifier : KnowledgeGraphKit.ElementIdentifierSet])
init()
init(_: consuming A) where A: Swift.Sequence, A.Element == (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)
var count: Swift.Int {
get
}
var description: Swift.String {
get
}
var sources: KnowledgeGraphKit.ElementIdentifierSet {
get
}
func intersects(_: KnowledgeGraphKit.ElementIdentifierTupleSet) -> Swift.Bool
func isDisjoint(with: KnowledgeGraphKit.ElementIdentifierTupleSet) -> Swift.Bool
func subtracting(_: KnowledgeGraphKit.ElementIdentifierTupleSet) -> KnowledgeGraphKit.ElementIdentifierTupleSet
func intersection(_: KnowledgeGraphKit.ElementIdentifierTupleSet) -> KnowledgeGraphKit.ElementIdentifierTupleSet
func sparseMatrix(of: A.Type) -> KnowledgeGraphKit.SparseArray> where A: KnowledgeGraphKit.SparseElement, A: Swift.ExpressibleByIntegerLiteral
func removeTargets(for: KnowledgeGraphKit.ElementIdentifier)
func formIntersection(_: KnowledgeGraphKit.ElementIdentifierTupleSet)
func symmetricDifference(_: consuming KnowledgeGraphKit.ElementIdentifierTupleSet) -> KnowledgeGraphKit.ElementIdentifierTupleSet
func formSymmetricDifference(_: consuming KnowledgeGraphKit.ElementIdentifierTupleSet)
func union(_: consuming KnowledgeGraphKit.ElementIdentifierTupleSet) -> KnowledgeGraphKit.ElementIdentifierTupleSet
func insert(_: consuming (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)) -> (inserted: Swift.Bool, memberAfterInsert: (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier))
func remove(_: (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)) -> (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)?
func update(with: consuming (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)) -> (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)?
func contains(_: (KnowledgeGraphKit.ElementIdentifier, KnowledgeGraphKit.ElementIdentifier)) -> Swift.Bool
func subtract(_: KnowledgeGraphKit.ElementIdentifierTupleSet)
func formUnion(_: consuming KnowledgeGraphKit.ElementIdentifierTupleSet)
subscript(_: KnowledgeGraphKit.ElementIdentifier) -> KnowledgeGraphKit.ElementIdentifierSet {
get
set
}
static func joinOnTargets(_: KnowledgeGraphKit.ElementIdentifierTupleSet, _: KnowledgeGraphKit.ElementIdentifierTupleSet) -> KnowledgeGraphKit.ElementIdentifierTupleSet
}
struct Filter {
let allOfLabels: [Swift.String]
let anyOfLabels: [Swift.String]
let properties: KnowledgeGraphKit.FilterProperties
init(with: Swift.String, properties: KnowledgeGraphKit.FilterProperties)
init(with: [Swift.String], properties: KnowledgeGraphKit.FilterProperties)
init(with: [Swift.String], anyOfLabels: [Swift.String], properties: KnowledgeGraphKit.FilterProperties)
func addingPredicates(_: (KnowledgeGraphKit.ConcreteElementedTypedProperty, KnowledgeGraphKit.BinaryPredicate)...) -> KnowledgeGraphKit.Filter where A1: KnowledgeGraphKit.PropertyType
func setting(properties: KnowledgeGraphKit.FilterProperties) -> KnowledgeGraphKit.Filter
}
struct FilterProperties {
var dictionary: [Swift.String : Any]
init(dictionaryLiteral: (any KnowledgeGraphKit.Property, any KnowledgeGraphKit.FilterProperty)...)
func set(_: any KnowledgeGraphKit.FilterProperty, for: any KnowledgeGraphKit.Property)
func merge(_: KnowledgeGraphKit.FilterProperties)
func merging(_: KnowledgeGraphKit.FilterProperties) -> KnowledgeGraphKit.FilterProperties
}
struct Matrix {
struct Shape {
var rows: Swift.Int
var columns: Swift.Int
init(rows: Swift.Int, columns: Swift.Int)
var count: Swift.Int {
get
}
var description: Swift.String {
get
}
}
struct Slice {
var pointer: Swift.UnsafePointer
var stride: Swift.Int
var count: Swift.Int
}
struct MutableSlice {
var pointer: Swift.UnsafeMutablePointer
var stride: Swift.Int
var count: Swift.Int
}
var elements: [A]
var shape: KnowledgeGraphKit.Matrix.Shape
init(arrayLiteral: [A]...)
init(rows: [[A]])
init(elements: [A], rows: Swift.Int, columns: Swift.Int)
init(elements: [A], shape: KnowledgeGraphKit.Matrix.Shape)
init(repeating: A, rows: Swift.Int, columns: Swift.Int)
init(repeating: A, shape: KnowledgeGraphKit.Matrix.Shape)
var count: Swift.Int {
get
}
var description: Swift.String {
get
}
var rows: Swift.LazyMapSequence, Swift.ArraySlice> {
get
}
func aggregate1(along: __C.MAMatrixAxis, aggregation: (KnowledgeGraphKit.Matrix.Slice, Swift.UnsafeMutablePointer) -> ()) -> KnowledgeGraphKit.Vector
func aggregate2(along: __C.MAMatrixAxis, transform: (KnowledgeGraphKit.Matrix.Slice, Swift.UnsafeMutablePointer, Swift.UnsafeMutablePointer) -> ()) -> (KnowledgeGraphKit.Vector, KnowledgeGraphKit.Vector) where A1: Swift.FloatingPoint, B1: Swift.FloatingPoint
func appendingColumn(_: KnowledgeGraphKit.Vector) -> KnowledgeGraphKit.Matrix
func appendingColumns(of: KnowledgeGraphKit.Matrix) -> KnowledgeGraphKit.Matrix
func withUnsafeMutableBufferPointer(_: (_: inout Swift.UnsafeMutableBufferPointer) throws -> A1) throws -> A1
func index(position: Swift.Int) -> (row: Swift.Int, column: Swift.Int)
func modify(along: __C.MAMatrixAxis, transform: (KnowledgeGraphKit.Matrix.MutableSlice, Swift.UnsafeMutablePointer, Swift.UnsafeMutablePointer) -> ()) -> (KnowledgeGraphKit.Vector, KnowledgeGraphKit.Vector) where A1: Swift.FloatingPoint, B1: Swift.FloatingPoint
func modify(along: __C.MAMatrixAxis, transform: (_: KnowledgeGraphKit.Matrix.MutableSlice) -> ())
func number(of: __C.MAMatrixAxis) -> Swift.Int
func position(row: Swift.Int, column: Swift.Int) -> Swift.Int
func appendRow(_: A1) where A == A1.Element, A1: Swift.Collection
subscript(_: Swift.Int, _: Swift.Int) -> A {
get
set
}
}
struct KnowledgeGraphKit.Matrix.MutableSlice {
var pointer: Swift.UnsafeMutablePointer
var stride: Swift.Int
var count: Swift.Int
}
struct KnowledgeGraphKit.Matrix.Shape {
var rows: Swift.Int
var columns: Swift.Int
init(rows: Swift.Int, columns: Swift.Int)
var count: Swift.Int {
get
}
var description: Swift.String {
get
}
}
struct KnowledgeGraphKit.Matrix.Slice {
var pointer: Swift.UnsafePointer
var stride: Swift.Int
var count: Swift.Int
}
struct NeighborRelationIn where A: KnowledgeGraphKit.Edge {
let edgeFilter: KnowledgeGraphKit.Filter
init(with: KnowledgeGraphKit.Filter)
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
}
struct NeighborRelationInOut where A: KnowledgeGraphKit.Edge, A.SourceNode == A.TargetNode {
let edgeFilter: KnowledgeGraphKit.Filter
init(with: KnowledgeGraphKit.Filter)
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
}
struct NeighborRelationOut where A: KnowledgeGraphKit.Edge {
let edgeFilter: KnowledgeGraphKit.Filter
init(with: KnowledgeGraphKit.Filter)
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
}
struct NodeAdjacency where A: KnowledgeGraphKit.Node, B: KnowledgeGraphKit.Node {
let adjacency: KnowledgeGraphKit.DirectedBinaryAdjacency
let graph: any KnowledgeGraphKit.AbstractGraph
var sources: KnowledgeGraphKit.NodeCollection {
get
}
var sourcesCount: Swift.Int {
get
}
var targets: KnowledgeGraphKit.NodeCollection {
get
}
func transposed() -> KnowledgeGraphKit.NodeAdjacency
func subtracting(_: KnowledgeGraphKit.NodeAdjacency) -> KnowledgeGraphKit.NodeAdjacency
func joinOnTargets(_: KnowledgeGraphKit.NodeAdjacency) -> KnowledgeGraphKit.NodeAdjacency where A1: KnowledgeGraphKit.Node
func subtractingSources(with: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeAdjacency
func subtractingTargets(with: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeAdjacency
func intersectingSources(with: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeAdjacency
func intersectingTargets(with: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeAdjacency
func enumerateTargetsBySource(with: (KnowledgeGraphKit.NodeCollection, KnowledgeGraphKit.NodeCollection, Swift.UnsafeMutablePointer) -> ())
func union(with: KnowledgeGraphKit.NodeAdjacency) -> KnowledgeGraphKit.NodeAdjacency
func targets(forSources: KnowledgeGraphKit.NodeCollection) -> KnowledgeGraphKit.NodeCollection
func targets(minCount: Swift.UInt) -> KnowledgeGraphKit.NodeCollection
}
struct NodeCollection where A: KnowledgeGraphKit.Node {
let identifiers: KnowledgeGraphKit.ElementIdentifierSet
let graph: any KnowledgeGraphKit.AbstractGraph
init(with: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph)
func enumerateValuesOf(_: any KnowledgeGraphKit.TypedProperty, using: (KnowledgeGraphKit.ElementIdentifier, A1, inout Swift.Bool) throws -> ()) throws
func enumerateValuesOf(_: KnowledgeGraphKit.ConcreteElementedTypedProperty, using: (KnowledgeGraphKit.ElementIdentifier, A1, inout Swift.Bool) throws -> ()) throws where A1: KnowledgeGraphKit.PropertyType
func related(through: any KnowledgeGraphKit.Relation) -> KnowledgeGraphKit.NodeCollection where A1: KnowledgeGraphKit.Node
func filtered(with: any KnowledgeGraphKit.NodeFilter) -> KnowledgeGraphKit.NodeCollection
func valuesOf(_: KnowledgeGraphKit.ConcreteElementedTypedProperty) -> [(identifier: KnowledgeGraphKit.ElementIdentifier, value: A1)] where A1: KnowledgeGraphKit.PropertyType
func adjacency(through: any KnowledgeGraphKit.Relation) -> KnowledgeGraphKit.NodeAdjacency where A1: KnowledgeGraphKit.Node
}
struct NodeFilterRelation where A: KnowledgeGraphKit.Node {
let nodeFilter: KnowledgeGraphKit.Filter
init(with: KnowledgeGraphKit.Filter)
func targetNodeIdentifiers(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.ElementIdentifierSet
func adjacencyByJoining(with: KnowledgeGraphKit.DirectedBinaryAdjacency, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
func inverse() -> any KnowledgeGraphKit.Relation
func adjacency(from: KnowledgeGraphKit.ElementIdentifierSet, in: any KnowledgeGraphKit.AbstractGraph) -> KnowledgeGraphKit.DirectedBinaryAdjacency
}
struct SeededRandomNumberGenerator {
var state: Swift.UInt64
var increment: Swift.UInt64
init(seed: Swift.UInt64)
init()
func next() -> Swift.UInt64
}
struct SparseArray where A: KnowledgeGraphKit.SparseElement {
var values: [A]
var offsets: [Swift.Int64]
init(denseValues: A1) where A == A1.Element, A1: Swift.Collection
init(arrayLiteral: A...)
init(values: [A], offsets: [Swift.Int64])
init()
init(_: [Swift.Int64 : A])
init(_: A1) where A1: Swift.Sequence, A1.Element == (Swift.Int64, A)
var description: Swift.String {
get
}
var sparseValueIndices: [Swift.Int64] {
get
}
var sparseValues: [A] {
get
}
func withBuffer(transform: (_: KnowledgeGraphKit.SparseBuffer) throws -> A1) throws -> A1
func formIntersection(with: A1, combine: (A, A) -> A) where A == A1.Value, A1: KnowledgeGraphKit.SparseArrayProtocol
func set(_: A, atOffset: Swift.Int64) -> A?
func append(offset: Swift.Int64, value: A)
func getValue(atOffset: Swift.Int64) -> A?
func formUnion(with: A1, combine: (inout A, A) -> ()) where A == A1.Value, A1: KnowledgeGraphKit.SparseArrayProtocol
subscript(_: Swift.Int64) -> A {
get
set
}
static var defaultSparseValue: KnowledgeGraphKit.SparseArray {
get
}
}
struct SparseBuffer where A: KnowledgeGraphKit.SparseElement {
let values: Swift.Slice>
let offsets: KnowledgeGraphKit.UniqueSortedBuffer
var count: Swift.Int {
get
}
func dotProduct(with: KnowledgeGraphKit.SparseBuffer, add: (inout A, A) -> (), multiply: (A, A) -> A) -> A
func intersection(with: KnowledgeGraphKit.SparseBuffer, combine: (A, A1) -> B1) -> KnowledgeGraphKit.SparseArray where A1: KnowledgeGraphKit.SparseElement, B1: KnowledgeGraphKit.SparseElement
func mapIntersection(with: KnowledgeGraphKit.SparseBuffer, initialValue: A1, update: (inout A1, A) -> (), combine: (A, A) -> A) -> A1
func sparseKroneckerMap(with: KnowledgeGraphKit.SparseBuffer, combine: (A, A1) throws -> B1) throws -> KnowledgeGraphKit.SparseArray> where A1: KnowledgeGraphKit.SparseElement, B1: KnowledgeGraphKit.SparseElement
func union(with: KnowledgeGraphKit.SparseBuffer, combine: (inout A, A) -> ()) -> KnowledgeGraphKit.SparseArray
func reduce(into: A1, update: (inout A1, A) -> ()) -> A1 where A1: KnowledgeGraphKit.SparseElement
func getValue(atOffset: Swift.Int64) -> A?
subscript(_: Swift.Int64) -> A {
get
}
}
struct SparseValues where A: KnowledgeGraphKit.SparseArrayProtocol {
let implementation: A
init(_: A)
var count: Swift.Int {
get
}
var endIndex: Swift.Int {
get
}
var isEmpty: Swift.Bool {
get
}
var startIndex: Swift.Int {
get
}
func index(after: Swift.Int) -> Swift.Int
func index(before: Swift.Int) -> Swift.Int
func index(_: Swift.Int, offsetBy: Swift.Int, limitedBy: Swift.Int) -> Swift.Int?
func index(_: Swift.Int, offsetBy: Swift.Int) -> Swift.Int
subscript(_: Swift.Int) -> (Swift.Int64, A.Value) {
get
}
}
struct UniqueSortedBuffer where A: Swift.Comparable {
struct SearchResult {
var offset: Swift.Int
var found: Swift.Bool
}
struct SymmetricDifference {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> A {
get
}
}
struct Union {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.Union.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> A {
get
}
}
struct Intersection {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> A {
get
}
}
let elements: Swift.Slice>
var count: Swift.Int {
get
}
func binarySearch(_: A, startOffset: inout Swift.Int, endOffset: inout Swift.Int)
func linearSearch(_: A, startOffset: inout Swift.Int, endOffset: inout Swift.Int)
func binarySearchSeek(_: A, startOffset: inout Swift.Int, endOffset: inout Swift.Int) -> Swift.Bool
func find(_: A) -> KnowledgeGraphKit.UniqueSortedBuffer.SearchResult
func contains(_: A) -> Swift.Bool
}
struct KnowledgeGraphKit.UniqueSortedBuffer.Intersection {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> A {
get
}
}
struct KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index {
var lhs: Swift.Int
var rhs: Swift.Int
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Intersection.Index) -> Swift.Bool
}
struct KnowledgeGraphKit.UniqueSortedBuffer.SearchResult {
var offset: Swift.Int
var found: Swift.Bool
}
struct KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> A {
get
}
}
struct KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.SymmetricDifference.Index) -> Swift.Bool
}
struct KnowledgeGraphKit.UniqueSortedBuffer.Union {
struct Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> Swift.Bool
}
let lhs: KnowledgeGraphKit.UniqueSortedBuffer
let rhs: KnowledgeGraphKit.UniqueSortedBuffer
var endIndex: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index {
get
}
var startIndex: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index {
get
}
func index(after: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> KnowledgeGraphKit.UniqueSortedBuffer.Union.Index
subscript(_: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> A {
get
}
}
struct KnowledgeGraphKit.UniqueSortedBuffer.Union.Index {
var lhs: Swift.Int
var rhs: Swift.Int
var takeLHS: Swift.Bool
var takeRHS: Swift.Bool
static func < (_: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index, _: KnowledgeGraphKit.UniqueSortedBuffer.Union.Index) -> Swift.Bool
}
struct Vector {
var elements: [A]
init(arrayLiteral: A...)
init(pointer: Swift.UnsafePointer, count: Swift.Int)
init(elements: [A], shape: Swift.Int)
init(elements: [A])
init(repeating: A, count: Swift.Int)
init