1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

KCC: docstring for kcc.graph.InternalEdge

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:
Douglas Bagnall 2015-05-08 14:53:41 +12:00 committed by Andrew Bartlett
parent 0f438acd8c
commit 27e08cdead

View File

@ -803,6 +803,12 @@ class MultiEdge(object):
class InternalEdge(object):
"""An edge that forms part of the minimal spanning tree
These are used in the Kruskal's algorithm. Their interesting
feature isa that they are sortable, with the good edges sorting
before the bad ones -- lower is better.
"""
def __init__(self, v1, v2, redred, repl, eType, site_link):
self.v1 = v1
self.v2 = v2