mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
KCC: docstring for kcc.graph.process_edge_set()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
7c62a85851
commit
a75b874902
@ -460,6 +460,13 @@ def undemote_vertex(vertex):
|
||||
|
||||
|
||||
def process_edge_set(graph, e_set, internal_edges):
|
||||
"""Find internal edges to pass to Kruskal's algorithm
|
||||
|
||||
:param graph: an IntersiteGraph object
|
||||
:param e_set: an edge set
|
||||
:param internal_edges: a set that internal edges get added to
|
||||
:return: None
|
||||
"""
|
||||
if e_set is None:
|
||||
for edge in graph.edges:
|
||||
for vertex in edge.vertices:
|
||||
|
Reference in New Issue
Block a user