Skip to content
Select language:English

Way-Fi 1.6.0

Specifies how to handle duplicate arcs (i.e., multiple arcs between the same pair of nodes) when loading layers.

The default value is AllowDistinct.

Note: Having duplicate arcs with identical masks but different costs is generally discouraged, as the routing algorithm will always select the one with the lower cost. The only option that permits this is Allow, which is provided for performance reasons as it bypasses all duplication checks.

Entries

Do not allow duplicated arcs.

Allow duplicated arcs.

Allow duplicated arcs if the masks are different.

Overwrite the existing arcs.

Overwrite the existing arc if the masks are equal, otherwise deny.

Overwrite the existing arc if the masks are equal, otherwise allow.

Overwrite the existing arc if the masks are different, otherwise deny.

Discard the new arc if another one already exists.

Discard the new arc if another one with an equal mask already exists, otherwise deny.

Discard the new arc if another one with an equal mask already exists, otherwise allow.

Discard the new arc if another one with a different mask already exists, otherwise deny.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

expect val name: String
expect val ordinal: Int
var value: Int

Functions

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.