Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Clusterizator
Krab
Calculators
NormalizedLinearCalculator
GetDiameter
Clusterizator.Krab.Calculators.NormalizedLinearCalculator.GetDiameter C# (CSharp) Method
NormalizedLinearCalculator Class Documentation
Show file
Open project: intervals-mining-lab/libiada-core
GetDiameter()
private
method
Graph diameter calculation method. Calculated as longest connection in graph
private
GetDiameter
(
IEnumerable
graph
) :
double
graph
IEnumerable
/// Connections graph. ///
return
double
private double GetDiameter(IEnumerable<Connection> graph) { return graph.Max(i => i.Distance); }
NormalizedLinearCalculator
Calculate
GetDiameter