Let \(m\) be the number of spanning tree edges. Then, the operator selects \(1 \leq k \leq m\) edges randomly and replaces each of the \(k\) edges with another feasible edge.
mutKEdgeExchange(ind, k = 1L, instance = NULL)
[matrix(2, m)
]
Matrix of edges (each column is one edge).
[integer(1)
]
Number of edges to swap.
[grapherator
]
Multi-objective graph.
Evolutionary multi-objective algorithm mcMSTEmoaBG
Other mcMST EMOA mutators:
mutEdgeExchange()
,
mutSubforestMST()
,
mutSubgraphMST()
,
mutUniformPruefer()