namespace FrostFS.SDK.Client.Models.Netmap.Placement; internal readonly struct SigmoidNorm : INormalizer { private readonly double _scale; internal SigmoidNorm(double scale) { _scale = scale; } public readonly double Normalize(double w) { if (_scale == 0) { return 0; } var x = w / _scale; return x / (1 + x); } }