Query-engine that maps center nodes to indices of features (nodes) that are inside a ring around each center node.
Methods
query(**kwargs) | |
query_byid(vertex_id) | Return feature ids of features near a vertex |
train(ds) | Train the queryengine |
untrain() |
Make a new SurfaceRingQueryEngine
Parameters: | inner_radius: float :
include_center: bool :
surface: surf.Surface :
radius: float :
distance_metric: str :
fa_node_key: str :
|
---|
Methods
query(**kwargs) | |
query_byid(vertex_id) | Return feature ids of features near a vertex |
train(ds) | Train the queryengine |
untrain() |
Return feature ids of features near a vertex
Parameters: | vertex_id: int :
|
---|---|
Returns: | feature_ids: list of int :
|
Train the queryengine
Parameters: | ds: Dataset :
|
---|