Class WeightedDistance
- Namespace
- Bannerlord.ButterLib.DistanceMatrix
- Assembly
- Bannerlord.ButterLib.dll
Weighted distance between two objects.
public record WeightedDistance : IEquatable<WeightedDistance>
- Inheritance
-
WeightedDistance
- Implements
- Inherited Members
Constructors
WeightedDistance(float, float)
Weighted distance between two objects.
public WeightedDistance(float Distance, float Weight)
Parameters
Properties
Distance
Distance between a pair of objects
public float Distance { get; init; }
Property Value
Weight
Weight of objects
public float Weight { get; init; }
Property Value
This page was last modified at 10/07/2024 08:38:12 +00:00 (UTC).