random-tree

0.0.0 • Public • Published

random-tree

Generates a random tree

Example

var createRandomTree = require("random-tree")
 
console.log(createRandomTree(10))

Install

npm install random-tree

require("random-tree")(n)

Generates a random tree with n vertices

  • n is the number of vertices in the tree

Returns A random tree

Credits

(c) 2013 Mikola Lysenko. MIT License

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i random-tree

      Weekly Downloads

      2

      Version

      0.0.0

      License

      MIT

      Last publish

      Collaborators

      • mikolalysenko