/// <summary> /// Sets the Threshold for constructing a Geometric Graph /// </summary> /// <param name="threshold">Maximum acceptable distance (inclusive)</param> public void SetThreshold(double threshold) { _graphType = GeoGraphType.SpecifiedThreshold; _threshold = threshold; if (threshold <= 0) { _threshold = 1; } }
public void SetMinimumConnectivity() { _graphType = GeoGraphType.MinimumConnectivity; }