You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
383 B
10 lines
383 B
|
4 months ago
|
import { GraphData, IAlgorithmCallbacks } from './types';
|
||
|
|
/**
|
||
|
|
* 广度优先遍历图
|
||
|
|
* @param graph Graph 图实例
|
||
|
|
* @param startNode 开始遍历的节点
|
||
|
|
* @param originalCallbacks 回调
|
||
|
|
*/
|
||
|
|
declare const breadthFirstSearch: (graphData: GraphData, startNodeId: string, originalCallbacks?: IAlgorithmCallbacks, directed?: boolean) => void;
|
||
|
|
export default breadthFirstSearch;
|