Example #1
0
        public Placing(double height, double length, Circle[] circles, double eps)
        {
            this.height = height;
            this.length = length;
            this.circles = circles;

            this.eps = eps;
        }
Example #2
0
        public PlacingOpt(double height, double length, Circle[] circles, double mu, double beta, double eps)
        {
            this.height = height;
            this.length = length;
            this.circles = circles;

            #region Временный код.
            for (int i = 0; i < circles.Length; i++)
                circles[i].Value -= 1;
            #endregion

            int n = circles.Length;
            X = new double[2 * n + 1];

            index_strip = 2 * n;

            this.mu = mu;
            this.beta = beta;
            this.eps = eps;
        }