- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
11 lines
481 B
TypeScript
11 lines
481 B
TypeScript
import Graph from '../Graph';
|
|
/**
|
|
* @description Tarjan's algorithm for finding the strongly connected components of a graph.
|
|
* @description https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm
|
|
* @description.zh-CN Tarjan 算法用于找到图的强连通子图。
|
|
* @param graph
|
|
* @returns
|
|
*/
|
|
declare const tarjan: <NodeIDType>(graph: Graph<NodeIDType, Record<string, any>, Record<string, any>, string>) => NodeIDType[][];
|
|
export default tarjan;
|