grapher.TacoIndex
Parallel index of compressed range-pattern dependency edges.
Usage
grapher.TacoIndex()Parameter Attributes
compressed_edges: list[CompressedEdge] = list()single_edges: list[SingleEdge] = list()_prec_spatial: RangeSpatialIndex = RangeSpatialIndex()_dep_spatial: RangeSpatialIndex = RangeSpatialIndex()_single_prec: dict[NodeKey, list[NodeKey]] = dict()_single_dep: dict[NodeKey, list[NodeKey]] = dict()
Methods
| Name | Description |
|---|---|
| find_dependents() |
Return dependent ranges that depend on query.
|
| find_precedents() |
Return precedent ranges that query depends on.
|
| rebuild_spatial_indices() | Rebuild spatial lookup structures after edges are added. |
find_dependents()
Return dependent ranges that depend on query.
Usage
find_dependents(query)find_precedents()
Return precedent ranges that query depends on.
Usage
find_precedents(query)rebuild_spatial_indices()
Rebuild spatial lookup structures after edges are added.
Usage
rebuild_spatial_indices()