Esempio n. 1
0
        public override Structuring BuildStructuring()
        {
            SAHN sahn = new SAHN(Set, Proximity);

            sahn.IContainerProgressBar = IContainerProgressBar;
            sahn.UpdateAlfaI           = AlfaI;
            sahn.UpdateAlfaJ           = AlfaJ;
            sahn.UpdateBeta            = Beta;
            sahn.UpdateGamma           = Gamma;
            sahn.ClustersCount         = ClustersCount;
            Structuring = sahn.BuildStructuring();
            return(Structuring);
        }
Esempio n. 2
0
        public override Structuring BuildStructuring()
        {
            if (!(Beta < 1))
            {
                throw new ArgumentException("El parámetro Beta del Método Flexible_LanceAndWilliams deber ser menor estricto que 1.");
            }

            SAHN sahn = new SAHN(Set, Proximity);

            sahn.IContainerProgressBar = IContainerProgressBar;
            sahn.UpdateAlfaI           = AlfaI;
            sahn.UpdateAlfaJ           = AlfaJ;
            sahn.UpdateBeta            = BetaUpdate;
            sahn.UpdateGamma           = Gamma;
            sahn.ClustersCount         = ClustersCount;
            Structuring = sahn.BuildStructuring();
            return(Structuring);
        }