API/api.medcify.app/node_modules/@pm2/io/build/main/utils/EDS.d.ts

22 lines
549 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
export default class ExponentiallyDecayingSample {
private RESCALE_INTERVAL;
private ALPHA;
private SIZE;
private _elements;
private _rescaleInterval;
private _alpha;
private _size;
private _landmark;
private _nextRescale;
private _mean;
constructor(options?: any);
update(value: any, timestamp?: any): void;
toSortedArray(): any;
toArray(): any;
_weight(age: any): number;
_priority(age: any): number;
_random(): number;
_rescale(now: any): void;
avg(now: any): number;
}