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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    4

Package Sidebar

Install

npm i random-tree

Weekly Downloads

2

Version

0.0.0

License

MIT

Last publish

Collaborators

  • mikolalysenko