| 209 | |
| 210 | #[derive(Debug, Clone, PartialEq)] |
| 211 | pub struct HhiState { |
| 212 | cfg: HhiConfig, |
| 213 | window: VecDeque<usize>, |
| 214 | venue_counts: HashMap<usize, usize>, |
| 215 | sum_sq_counts: usize, |
| 216 | } |
| 217 | |
| 218 | impl HhiState { |
| 219 | pub fn new(cfg: HhiConfig) -> Result<Self, StreamingHpcError> { |
nothing calls this directly
no outgoing calls
no test coverage detected