Skip to main content

pamoja_anomaly_capacity

Function pamoja_anomaly_capacity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_anomaly_capacity( anomaly: *const PamojaAnomaly, ) -> usize
Expand description

Returns how many readings an anomaly detector’s baseline keeps.

§Returns

The capacity, or 0 if anomaly is null.

§Safety

anomaly must be a live handle from an anomaly constructor, or null.