Closed ylhsieh closed 10 years ago
Sorry I could not find any docs that can solve my question. In what format should I provide edge and node weights to part_gragh() ? Some example codes below.
part_gragh()
adjacency = {\ 0:[1,2], 1:[0], 2:[0]} cuts, part_vert = part_graph(2, adjacency)
Is it correct to set edgeweights={2,1,3,1} according to the order of appearance of the edges? Thanks!
edgeweights={2,1,3,1}
Improved in 58695caff1.
Sorry I could not find any docs that can solve my question. In what format should I provide edge and node weights to
part_gragh()
? Some example codes below.Is it correct to set
edgeweights={2,1,3,1}
according to the order of appearance of the edges? Thanks!