Skip to content

Selectors

Back to Helios Network Native C API

Node and edge selector containers used for filtering and set operations.

function CXEdgeSelectorClear Clears all indices from an edge selector without releasing its capacity. function CXEdgeSelectorCount Returns how many indices are currently stored in the selector. function CXEdgeSelectorCreate Creates a selector object for edges. function CXEdgeSelectorData Returns a pointer to the selector's index data. function CXEdgeSelectorDestroy Releases all heap memory associated with an edge selector. function CXEdgeSelectorFillAll Populates the selector with every active edge. function CXEdgeSelectorFillFromArray Fills the selector with the provided edge indices. function CXEdgeSelectorFilterActive Removes invalid/inactive indices in-place from an edge selector. function CXEdgeSelectorFilterByNodes Keeps only active edges whose endpoints are both present in `nodeSelector`. function CXEdgeSelectorIntersect Intersects an edge selector in-place with another selector (active indices only). function CXNodeSelectorClear Clears all indices from a node selector without releasing its capacity. function CXNodeSelectorCount Returns how many indices are currently stored in the selector. function CXNodeSelectorCreate Creates a selector object for nodes with an optional initial capacity. function CXNodeSelectorData Returns a pointer to the selector's contiguous index data. function CXNodeSelectorDestroy Releases all heap memory associated with a node selector. function CXNodeSelectorFillAll Populates the selector with every active node. function CXNodeSelectorFillFromArray Fills the selector with the provided node indices. function CXNodeSelectorFilterActive Removes invalid/inactive indices in-place from a node selector. function CXNodeSelectorIntersect Intersects a node selector in-place with another selector (active indices only).