/** * <p> * File: Main.java * * A Main class to process the paramethers of the method and launch the algorithm * * @author Written by Salvador Garcia Lopez (University of Granada) 30/03/2006 * @version 0.1 * @since JDK1.5 * </p> */ package keel.Algorithms.ImbalancedClassification.Resampling.SMOTE_RSB; public class Main { /** * Main method * * @param args Arguments of the program */ public static void main (String args[]) { SMOTE_RSB smoteRSTOriginal; if (args.length != 1) System.err.println("Error. A parameter is only needed."); else { smoteRSTOriginal = new SMOTE_RSB (args[0]); try { smoteRSTOriginal.ejecutar(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } } }