Alexey Velikiy
3 years ago
4 changed files with 36 additions and 6 deletions
@ -1,3 +0,0 @@ |
|||||||
struct AnalyticUnit { |
|
||||||
// TODO: field
|
|
||||||
} |
|
@ -0,0 +1,20 @@ |
|||||||
|
use subbeat::metric::MetricResult; |
||||||
|
|
||||||
|
struct PatternDetector { |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
impl PatternDetector { |
||||||
|
fn new() -> PatternDetector { |
||||||
|
PatternDetector{} |
||||||
|
} |
||||||
|
|
||||||
|
fn learn(reads: &Vec<Vec<(u64, f64)>>) { |
||||||
|
// TODO: implement
|
||||||
|
} |
||||||
|
|
||||||
|
fn detect(ts: &Vec<(u64, f64)>) -> Vec<(u64, u64)> { |
||||||
|
// fill backet
|
||||||
|
return Vec::new(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue