import { Graph } from '../../algorithms/graph/graph'; import { RankedPath } from '../../algorithms/pathfinding/path-ranking'; import { Edge, Node } from '../../algorithms/types/graph'; import { Option } from '../../algorithms/types/option'; import { Result } from '../../algorithms/types/result'; /** * Configuration for Jaccard arithmetic ranking. */ export interface JaccardRankingConfig { /** * Traversal mode for path finding. */ traversalMode?: "directed" | "undirected"; /** * Maximum number of paths to return. */ maxPaths?: number; } /** * Rank paths between two nodes by arithmetic mean of Jaccard similarity. * * This baseline ranks paths by the arithmetic mean of Jaccard similarity * coefficients between consecutive node pairs along the path. Paths * where adjacent nodes share more neighbours receive higher scores. * * @template N - Node type * @template E - Edge type * @param graph - The graph to search * @param startId - Source node ID * @param endId - Target node ID * @param config - Optional configuration * @returns Result containing Jaccard-ranked paths or error */ export declare const jaccardArithmeticRanking: (graph: Graph, startId: string, endId: string, config?: JaccardRankingConfig) => Result[]>, { type: string; message: string; }>; //# sourceMappingURL=jaccard-arithmetic-ranking.d.ts.map