We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e68d65 commit fe252c2Copy full SHA for fe252c2
src/kahn1962.js
@@ -3,8 +3,8 @@
3
*
4
* See https://en.wikipedia.org/wiki/Topological_sorting#CITEREFKahn1962
5
6
- * @param {any} queue
7
- * @param {any} graph
+ * @param {any} queue - Free vertices.
+ * @param {any} graph - Edges of the graph.
8
* @returns {Iterable<any>} The vertices in topological order.
9
*/
10
export default function* kahn1962(queue, graph) {
0 commit comments