LogNormDCUtil

@Serializable
@SerialName(value = "LogNorm")
class LogNormDCUtil(val coeffResidentialArea: Double, val coeffCommercialArea: Double, val coeffRetailArea: Double, val coeffIndustrialArea: Double, val coeffOfficeArea: Double, val coeffShopArea: Double, val coeffSchoolArea: Double, val coeffUniversityArea: Double, val coeffOtherArea: Double, val coeffOfficeUnits: Double, val coeffShopUnits: Double, val coeffSchoolUnits: Double, val coeffUniUnits: Double, val coeffPlaceOfWorshipUnits: Double, val coeffCafeUnits: Double, val coeffFastFoodUnits: Double, val coeffKinderGartenUnits: Double, val coeffTourismUnits: Double, val coeffBuildingUnits: Double, val coeffResidentialUnits: Double, val coeffCommercialUnits: Double, val coeffRetailUnits: Double, val coeffIndustrialUnits: Double, coeff0: Double, coeff1: Double) : LocationChoiceDCWeightFun

Destination choice function with log-normal functional form.

Deterrence function: ln(f(d)) = a ln^2(d) + b ln(d)

Constructors

Link copied to clipboard
constructor(coeffResidentialArea: Double, coeffCommercialArea: Double, coeffRetailArea: Double, coeffIndustrialArea: Double, coeffOfficeArea: Double, coeffShopArea: Double, coeffSchoolArea: Double, coeffUniversityArea: Double, coeffOtherArea: Double, coeffOfficeUnits: Double, coeffShopUnits: Double, coeffSchoolUnits: Double, coeffUniUnits: Double, coeffPlaceOfWorshipUnits: Double, coeffCafeUnits: Double, coeffFastFoodUnits: Double, coeffKinderGartenUnits: Double, coeffTourismUnits: Double, coeffBuildingUnits: Double, coeffResidentialUnits: Double, coeffCommercialUnits: Double, coeffRetailUnits: Double, coeffIndustrialUnits: Double, coeff0: Double, coeff1: Double)

Properties

Link copied to clipboard
open override val coeffBuildingUnits: Double
Link copied to clipboard
open override val coeffCafeUnits: Double
Link copied to clipboard
open override val coeffCommercialArea: Double
Link copied to clipboard
open override val coeffCommercialUnits: Double
Link copied to clipboard
open override val coeffFastFoodUnits: Double
Link copied to clipboard
open override val coeffIndustrialArea: Double
Link copied to clipboard
open override val coeffIndustrialUnits: Double
Link copied to clipboard
open override val coeffKinderGartenUnits: Double
Link copied to clipboard
open override val coeffOfficeArea: Double
Link copied to clipboard
open override val coeffOfficeUnits: Double
Link copied to clipboard
open override val coeffOtherArea: Double
Link copied to clipboard
open override val coeffPlaceOfWorshipUnits: Double
Link copied to clipboard
open override val coeffResidentialArea: Double
Link copied to clipboard
open override val coeffResidentialUnits: Double
Link copied to clipboard
open override val coeffRetailArea: Double
Link copied to clipboard
open override val coeffRetailUnits: Double
Link copied to clipboard
open override val coeffSchoolArea: Double
Link copied to clipboard
open override val coeffSchoolUnits: Double
Link copied to clipboard
open override val coeffShopArea: Double
Link copied to clipboard
open override val coeffShopUnits: Double
Link copied to clipboard
open override val coeffTourismUnits: Double
Link copied to clipboard
open override val coeffUniUnits: Double
Link copied to clipboard
open override val coeffUniversityArea: Double
Link copied to clipboard
@Transient
val id: Int

Functions

Link copied to clipboard
Link copied to clipboard
open fun calcFor(destination: RealLocation, distance: Double): Double

Calculates the probabilistic weight of a destination given the distance from the origin.

Link copied to clipboard

Calculates the probabilistic weight of a destination without knowledge of the origin. Used for the distribution of HOME locations and for destination choice within a routing cell, where the distance difference between the buildings is neglected.

Link copied to clipboard
open override fun deterrenceFunction(distance: Double): Double

Calculates the natural logarithm of the deterrence function given the distance from the origin.