Ejemplo n.º 1
0
        private void CalculateButton_Click(object sender, EventArgs e)
        {
            if (SelectedData == null)
            {
                MessageBox.Show("Fill data table", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            float[,] Q = SelectedData.Q.Numbers;             //candidates
            float[,] R = SelectedData.R.Numbers;             //positions

            float[,] distances = Approximations.FuzzyRelationBasedApproximation(norm, impl, dist, Q, R,
                                                                                out Bounds[,] objectBounds, out Bounds[,] propertyBounds);