Expand description
Advanced graph theory analysis for NQuin graphs.
This module exposes two graph-analysis tiers:
analyze_graph_topology_boundedis the preferred zero-heap path for 10D tensor orchestration and edge inference. It uses fixed-capacity arrays only.analyze_graph_topologyis the quarantined compatibility path for bounded, batch-style topology jobs. It still usesHashMap,HashSet,Vec, andVecDeque, so callers must keep it off hot paths and within the input cap below.
Structs§
- Bounded
Graph Analysis Summary - Community
Span - Graph
Analysis Result - Result of graph analysis
- Graph
Edge - Graph
Node - Motif
- Graph motif representation
- Motif
Record - Qualia
Graph - Graph structure built from NQuin relations
- Subgraph
Match - One subgraph-isomorphism match: the data-graph node ids assigned to pattern
nodes
0..len.missing_edgesis 0 for an exact (induced-monomorphism) match and counts unsatisfied pattern edges for an approximate match. - Subgraph
Pattern - A directed query pattern for subgraph isomorphism.
adjacency[i][j] != 0requires a data-graph edge from the node mapped to pattern nodeito the node mapped to pattern nodej. Only the firstnode_countrows/cols are read. - TopNode
Score
Enums§
- Graph
Analysis Error - Motif
Pattern - Motif pattern types
Constants§
- MAX_
BOUNDED_ GRAPH_ ANALYSIS_ NODES - Preferred zero-heap node cap for edge-safe topology analysis.
- MAX_
HEAP_ GRAPH_ ANALYSIS_ QUINS - Heap-backed graph analysis is quarantined behind a fixed input cap so daemon callers do not accidentally fan out into unbounded topology jobs on edge nodes.
- MAX_
SUBGRAPH_ PATTERN_ NODES - Maximum number of nodes in a subgraph-isomorphism query pattern. Bounding the pattern keeps the backtracking search depth (and therefore the stack) fixed.
Functions§
- analyze_
graph_ topology - Analyze graph topology in a bounded, heap-backed batch.
- analyze_
graph_ topology_ bounded - Zero-heap topology analysis aligned with the 10D tensor hot-path constraints.
- find_
subgraph_ isomorphisms_ bounded - Zero-heap exact/approximate subgraph isomorphism over an NQuin relation set.
- pagerank_
bounded - Zero-heap PageRank over an NQuin relation set (bounded path).