Innovenergy_trunk/frontend/node_modules/graphlib/lib/alg/preorder.js

8 lines
114 B
JavaScript
Raw Normal View History

var dfs = require("./dfs");
module.exports = preorder;
function preorder(g, vs) {
return dfs(g, vs, "pre");
}