Skip to content
Select language:English

Way-Fi 1.6.0

fun changeCosts(newCost: Float, unl: String, skipMissing: Boolean = true, mask: Int = -1): Int

Change the cost of the arcs between the nodes identified by UNL.

Return

The number of arcs changed.

Parameters

newCost

The new cost of the arc.

unl

The UNL of the nodes.

skipMissing

If false, the method will throw an exception if an arc is not found.

mask

The mask of the arc.