Table of Contents

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

Distance float

Distance between a pair of objects

Weight float

Weight of objects

Properties

Distance

Distance between a pair of objects

public float Distance { get; init; }

Property Value

float

Weight

Weight of objects

public float Weight { get; init; }

Property Value

float

This page was last modified at 09/27/2024 08:48:02 +00:00 (UTC).