Package stallone.util

Examples of stallone.util.CommandLineParser.addCommand()


        // mandatory parameters
        parser.addIntCommand("nhidden", true);
        // number of conv steps
        parser.addIntArrayCommand("nhmmconv", false);
        // option estimate
        parser.addCommand("estimate", false);
        parser.addIntArgument("estimate", true); // tau
        parser.addIntArgument("estimate", true); // average window
        // output
        parser.addStringCommand("o", true);
View Full Code Here


        parser.addIntArgument("columns", true);
        parser.addIntArgument("columns", true);

        parser.addIntCommand("maxtime", true);

        parser.addCommand("subtractmean", true);

        // parse
        if (!parser.parse(args))
        {
            throw (new IllegalArgumentException("Parsing error!"));
View Full Code Here

        // output
        parser.addStringCommand("o", true);
       
        // switch
        parser.addCommand("autocorrelations", false);
        parser.addCommand("timescales", false);

        if (!parser.parse(args))
            return false;
View Full Code Here

        // output
        parser.addStringCommand("o", true);
       
        // switch
        parser.addCommand("autocorrelations", false);
        parser.addCommand("timescales", false);

        if (!parser.parse(args))
            return false;

       
View Full Code Here

                {
                    "euclidean", "minrmsd"
                });
        // parameters
        parser.addIntCommand("nsplit", true);
        parser.addCommand("tau", true);
        parser.addIntArgument("tau", true); // tau
        parser.addIntArgument("tau", true); // average window
        parser.addIntCommand("nhidden", true);
        parser.addDoubleCommand("requestederror", false);
        parser.addIntCommand("maxrefinementsteps", false);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.