Skip to content

Commit

Permalink
Merge pull request #28 from walter-weinmann/wwe
Browse files Browse the repository at this point in the history
Version 1.4.0: New function copy/2.
  • Loading branch information
walter-weinmann authored Jan 18, 2017
2 parents 3295ad1 + 4705e51 commit b8b706b
Show file tree
Hide file tree
Showing 8 changed files with 367 additions and 619 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ A general balanced tree iterator.

## EXPORTS ##

### copy(Tree1, Tree2) -> Tree3 ###

Types:

Tree1 = Tree2 = Tree3 = b_tree() | gb_trees:tree()

Copies tree Tree1 to an empty tree Tree2. Both trees may be either of type b-tree or binary tree (gb_trees). Returns the new tree Tree3 of the same type as tree Tree2.

### delete(Key, B-Tree1) -> B-Tree2 ###

Types:
Expand All @@ -78,7 +86,7 @@ Types:
Order = pos_integer()
B-Tree = b_tree()

Returns a new empty b-tree. The order is defined as the maximum number of children nodes a non-leaf node may hold.
Returns a new empty b-tree. The order Order (min. 4) is defined as the maximum number of children nodes a non-leaf node may hold.

### enter (Key, Value, B-Tree1) -> B-Tree2 ###

Expand Down
Loading

0 comments on commit b8b706b

Please sign in to comment.