MCPcopy Index your code
hub / github.com/keon/algorithms / __init__

Method __init__

algorithms/data_structures/b_tree.py:62–65  ·  view source on GitHub ↗
(self, t_val: int = 2)

Source from the content-addressed store, hash-verified

60 """
61
62 def __init__(self, t_val: int = 2) -> None:
63 self.min_numbers_of_keys = t_val - 1
64 self.max_number_of_keys = 2 * t_val - 1
65 self.root = Node()
66
67 def _split_child(self, parent: Node, child_index: int) -> None:
68 """Split a full child node into two nodes.

Callers

nothing calls this directly

Calls 1

NodeClass · 0.70

Tested by

no test coverage detected