Exemplo n.º 1
0
        public SpatialContinuity(List <GridPoint> gridPoints, CancellationToken cancellationToken)
        {
            _semivariance = new Stat(true);
            _distance     = new Stat(true);
            _covariance   = new Stat(true);

            _gridPoints = gridPoints;
            _npoints    = gridPoints.Count;
            calculateDistances();
            _lag = new Lag(12, _distance.Max * 0.7 / 12, 0.5);
            grid();
            calculateDistancesLag(cancellationToken);
            _calculated = false;
        }
Exemplo n.º 2
0
        public SpatialContinuity(Lag lag, List <GridPoint> gridPoints)
        {
            _semivariance = new Stat(true);
            _distance     = new Stat(true);
            _covariance   = new Stat(true);

            _gridPoints = gridPoints;
            _npoints    = gridPoints.Count;
            _lag        = lag;
            _gridPoints = gridPoints;
            grid();
            calculateDistances();
            calculateDistancesLag();
            _calculated = false;
        }