@Deprecated @operator( value = "rewire_p", category = {IOperatorCategory.GRAPH}) @doc( value = "Rewires a graph (in the Watts-Strogatz meaning)", deprecated = "Does not work now", examples = { @example(value = "graph graphEpidemio <- graph([]);", isTestOnly = true), @example(value = "graphEpidemio rewire_p 0.2", test = false) }, see = "rewire_p") public static IGraph rewireGraph(final IScope scope, final IGraph g, final Double probability) { GraphAlgorithmsHandmade.rewireGraphProbability(scope, g, probability); g.incVersion(); return g; }