break; case 'todim': $method = new TodimHFL($import_file); break; case 'classic': $method = new AggregationHFLTS($import_file); break; default: register_error("label_not_found"); break; } $method->case = $runcase; if ($runcase == "imported") { $method->setAlternatives($nAlternativas); //num of alternatives $method->setCriteria($nCriterios); //num of criteria $method->setExperts($nExpertos); //num of experts $method->setGranularity($G); //granularity } $method->debug = false; //by default if (file_exists($weight_file)) { //system_message("+++ uso el fichero " . $weight_file); $method->setWFile($weight_file); } else { //register_error("--- no puedo leer el fichero ". $weight_file); $method->setWFile(""); }