The function dropCosts removes all edge weights (costs) from a gGraph
object, returning an unweighted graph.
Arguments
- x
a valid
gGraphobject.- ...
additional arguments passed to other methods (currently unused).
Value
A gGraph object with all edge costs removed.
See also
getCosts to retrieve edge costs, setCosts to set edge costs.
hasCosts to check if a graph has costs defined.
Other cost_functions:
combineCosts(),
getCosts(),
hasCosts(),
setCosts(),
setDistCosts()
