Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

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.