/** * Реализация менеджера алгоритмов работы с графами */ import { EventEmitter } from 'eventemitter3'; import { CSElement } from '../core/CSElement'; import { GraphAlgorithmsManager, GraphAnalysisOptions, PathFindingOptions, CycleDetectionOptions, ComponentAnalysisOptions, PathResult, CycleResult, ComponentResult, GraphAnalysisResult, GraphStatistics, GraphRepresentation, GraphAlgorithmsConfig, AlgorithmMetrics, NodeId, GraphCycle } from '../types/graph-interfaces'; export declare class GraphAlgorithmsManagerImpl extends EventEmitter implements GraphAlgorithmsManager { private config; private cache; private metrics; constructor(config?: Partial); findPath(from: CSElement, to: CSElement, options?: PathFindingOptions): Promise; findShortestPath(from: CSElement, to: CSElement, options?: PathFindingOptions): Promise; findAllPaths(from: CSElement, to: CSElement, options?: PathFindingOptions): Promise; detectCycles(root: CSElement, options?: CycleDetectionOptions): Promise; hasCycle(root: CSElement, options?: CycleDetectionOptions): Promise; findCycle(root: CSElement, options?: CycleDetectionOptions): Promise; findConnectedComponents(root: CSElement, options?: ComponentAnalysisOptions): Promise; findStronglyConnectedComponents(root: CSElement, options?: ComponentAnalysisOptions): Promise; isConnected(root: CSElement, options?: GraphAnalysisOptions): Promise; buildGraph(root: CSElement, options?: GraphAnalysisOptions): Promise; analyzeGraph(root: CSElement, options?: GraphAnalysisOptions): Promise; getGraphStatistics(root: CSElement, options?: GraphAnalysisOptions): Promise; getDistance(from: CSElement, to: CSElement, options?: GraphAnalysisOptions): Promise; getNeighbors(node: CSElement, options?: GraphAnalysisOptions): CSElement[]; getDegree(node: CSElement, options?: GraphAnalysisOptions): number; topologicalSort(root: CSElement, options?: GraphAnalysisOptions): Promise; minimumSpanningTree(root: CSElement, options?: GraphAnalysisOptions): Promise; calculateCentrality(root: CSElement, options?: GraphAnalysisOptions): Promise>; private findPathBFS; private findPathDFS; private findPathDijkstra; private findPathAStar; private detectCyclesDFS; private detectCyclesTarjan; private findComponentsDFS; private findComponentsBFS; private findComponentsTarjan; private findComponentsKosaraju; private calculatePathCost; private getCacheKey; private emitEvent; private updateMetrics; getMetrics(): AlgorithmMetrics; clearCache(): void; configure(config: Partial): void; } //# sourceMappingURL=GraphAlgorithmsManagerImpl.d.ts.map