@@ -514,12 +514,10 @@ function shake_network(param, graph, I0, results, options)
514514end
515515
516516
517- """
518- rebranch_network(param, graph, I0, results, options)
519517
520- This function implements the rebranching algorithm described in the paper.
521- Links are reshuffled everywhere so that each node is better connected to its best neighbor
522- (those with the lowest price index for traded goods, i.e., more central places in the trading network).
518+ # This function implements the rebranching algorithm described in the paper.
519+ # Links are reshuffled everywhere so that each node is better connected to its best neighbor
520+ # (those with the lowest price index for traded goods, i.e., more central places in the trading network).
523521"""
524522function rebranch_network(param, graph, I0, results, options)
525523 J = graph.J
@@ -558,12 +556,9 @@ function rebranch_network(param, graph, I0, results, options)
558556end
559557
560558
561- """
562- random_rebranch_network(param, graph, I0, results, options)
563559
564- This function does the same as `rebranch_network` except that only a few nodes
565- (#num_random_perturbations) are selected for rebranching at random.
566- """
560+ # This function does the same as `rebranch_network` except that only a few nodes
561+ # (#num_random_perturbations) are selected for rebranching at random.
567562function random_rebranch_network(param, graph, I0, results, options)
568563 J = graph.J
569564
0 commit comments