@formant/ava
Version:
A framework for automated visual analytics.
6 lines (5 loc) • 504 B
TypeScript
import Heap from 'heap-js';
import type { InsightInfo, PatternInfo, HomogeneousPatternInfo } from '../types';
export declare const insightPriorityComparator: (a: InsightInfo<PatternInfo>, b: InsightInfo<PatternInfo>) => number;
export declare const homogeneousInsightPriorityComparator: (a: InsightInfo<HomogeneousPatternInfo>, b: InsightInfo<HomogeneousPatternInfo>) => number;
export declare function addInsightsToHeap(insights: InsightInfo<PatternInfo>[], heap: Heap<InsightInfo<PatternInfo>>): void;