From 7ebd9f94a8e9ca8e3f08b93cfdb46103b8925cd1 Mon Sep 17 00:00:00 2001 From: Bharat Raghunathan Date: Sun, 23 May 2021 19:28:38 +0530 Subject: DOC: Clarify behaviour of k_crust(G, k) (#4831) --- networkx/algorithms/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/networkx/algorithms/core.py b/networkx/algorithms/core.py index f95ba792..82be5cb9 100644 --- a/networkx/algorithms/core.py +++ b/networkx/algorithms/core.py @@ -259,7 +259,8 @@ def k_shell(G, k=None, core_number=None): def k_crust(G, k=None, core_number=None): """Returns the k-crust of G. - The k-crust is the graph G with the k-core removed. + The k-crust is the graph G with the edges of the k-core removed + and isolated nodes found after the removal of edges are also removed. Parameters ---------- -- cgit v1.2.1