src/main/java/Alergia.java
public static void main(String[] args) {
        List<Object> argValues = Parser.parseArgs(args);

        String path = (String) argValues.get(0);
        double eps = (Double) argValues.get(1);
        ModelType type = (ModelType) argValues.get(2);
        String saveLocation = (String) argValues.get(3);
        OptimizeFor optimizeFor = (OptimizeFor) argValues.get(4);

        List<List<String>> data = Parser.parseFile(path);
        Alergia a = new Alergia(saveLocation);
        a.runAlergia(data, type, eps, optimizeFor);
        System.exit(0);
    }
/**
     * @param args argument list defined for command line use. For more details run alergia.jar with -h option.
     */
@param args argument list defined for command line use. For more details run alergia.jar with -h option.
@param args argument list defined for command line use . For more details run alergia . jar with - h option .
public static void main(String[] args) {
        List<Object> argValues = Parser.parseArgs(args);
        String path = (String) argValues.get(0);
        double eps = (Double) argValues.get(1);
        ModelType type = (ModelType) argValues.get(2);
        String saveLocation = (String) argValues.get(3);
        OptimizeFor optimizeFor = (OptimizeFor) argValues.get(4);
        List<List<String>> data = Parser.parseFile(path);
        Alergia a = new Alergia(saveLocation);
        a.runAlergia(data, type, eps, optimizeFor);
        System.exit(0);
    }
public static void main ( String [ ] args ) { List < Object > argValues = Parser . parseArgs ( args ) ; String path = ( String ) argValues . get ( 0 ) ; double eps = ( Double ) argValues . get ( 1 ) ; ModelType type = ( ModelType ) argValues . get ( 2 ) ; String saveLocation = ( String ) argValues . get ( 3 ) ; OptimizeFor optimizeFor = ( OptimizeFor ) argValues . get ( 4 ) ; List < List < String > > data = Parser . parseFile ( path ) ; Alergia a = new Alergia ( saveLocation ) ; a . runAlergia ( data , type , eps , optimizeFor ) ; System . exit ( 0 ) ; }
@param args argument list defined for command line use.
@param args argument list defined for command line use .