mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-17 14:58:10 +00:00
Added tests and docstrings to fibonacci_heap.py
This commit is contained in:
parent
a1291fd5ca
commit
c4516d1dfc
|
@ -299,11 +299,6 @@ class FibonacciHeap:
|
||||||
Args:
|
Args:
|
||||||
node: Node to be cut.
|
node: Node to be cut.
|
||||||
parent: Parent of the node to be cut.
|
parent: Parent of the node to be cut.
|
||||||
""""""
|
|
||||||
Performs cascading cut operation.
|
|
||||||
|
|
||||||
Args:
|
|
||||||
node: Starting node for cascading cut.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
parent.degree -= 1
|
parent.degree -= 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user