LocationInfo

@Serializable
data class LocationInfo(val name: String, val x: Double? = null, val y: Double? = null)(source)

A named spatial location (landmark / point of interest) an agent context declared via Context.location(...) (G1): its name and, when the coordinates are known, its (x, y) — so auto-layout can place it. A coordinate-free location (e.g. a DistancesModel name) has null x/y and is positioned later (MDS).

Constructors

Link copied to clipboard
constructor(name: String, x: Double? = null, y: Double? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val x: Double?
Link copied to clipboard
val y: Double?