Package edu.ucla.sspace.common

Examples of edu.ucla.sspace.common.ArgOptions.addOption()


        Logger.getLogger(FanmodTool.class.getName());

    public static void main(String[] args) {
        ArgOptions opts = new ArgOptions();
       
        opts.addOption('h', "help", "Generates a help message and exits",
                          false, null, "Program Options");
        opts.addOption('v', "verbose", "Turns on verbose output",
                          false, null, "Program Options");
        opts.addOption('V', "verbVerbose", "Turns on very verbose output",
                          false, null, "Program Options");
View Full Code Here


    public static void main(String[] args) {
        ArgOptions opts = new ArgOptions();
       
        opts.addOption('h', "help", "Generates a help message and exits",
                          false, null, "Program Options");
        opts.addOption('v', "verbose", "Turns on verbose output",
                          false, null, "Program Options");
        opts.addOption('V', "verbVerbose", "Turns on very verbose output",
                          false, null, "Program Options");

        opts.addOption('r', "randomGraphs", "The number of random graphs" +
View Full Code Here

       
        opts.addOption('h', "help", "Generates a help message and exits",
                          false, null, "Program Options");
        opts.addOption('v', "verbose", "Turns on verbose output",
                          false, null, "Program Options");
        opts.addOption('V', "verbVerbose", "Turns on very verbose output",
                          false, null, "Program Options");

        opts.addOption('r', "randomGraphs", "The number of random graphs" +
                       " to use for the null model (default: 1000)",
                       true, "INT", "Algorithm Options");
View Full Code Here

        opts.addOption('v', "verbose", "Turns on verbose output",
                          false, null, "Program Options");
        opts.addOption('V', "verbVerbose", "Turns on very verbose output",
                          false, null, "Program Options");

        opts.addOption('r', "randomGraphs", "The number of random graphs" +
                       " to use for the null model (default: 1000)",
                       true, "INT", "Algorithm Options");
        opts.addOption('z', "motifSize", "The number of vertices in the" +
                       " identified motifs (default: 3)",
                       true, "INT", "Algorithm Options");
View Full Code Here

                          false, null, "Program Options");

        opts.addOption('r', "randomGraphs", "The number of random graphs" +
                       " to use for the null model (default: 1000)",
                       true, "INT", "Algorithm Options");
        opts.addOption('z', "motifSize", "The number of vertices in the" +
                       " identified motifs (default: 3)",
                       true, "INT", "Algorithm Options");
        opts.addOption('s', "useSimpleMotifs", "If searching for motifs in a " +
                       "multigraph, counts only simple graphs as motifs",
                       false, null, "Algorithm Options");
View Full Code Here

                       " to use for the null model (default: 1000)",
                       true, "INT", "Algorithm Options");
        opts.addOption('z', "motifSize", "The number of vertices in the" +
                       " identified motifs (default: 3)",
                       true, "INT", "Algorithm Options");
        opts.addOption('s', "useSimpleMotifs", "If searching for motifs in a " +
                       "multigraph, counts only simple graphs as motifs",
                       false, null, "Algorithm Options");

        opts.addOption('Z', "minZScore", "The minimum Z-Score for any motif" +
                       " in the original network to be used for computing " +
View Full Code Here

                       true, "INT", "Algorithm Options");
        opts.addOption('s', "useSimpleMotifs", "If searching for motifs in a " +
                       "multigraph, counts only simple graphs as motifs",
                       false, null, "Algorithm Options");

        opts.addOption('Z', "minZScore", "The minimum Z-Score for any motif" +
                       " in the original network to be used for computing " +
                       "modularity (default: 1)",
                       true, "DOUBLE", "Algorithm Options");
        opts.addOption('O', "minOccurrences", "The minimum number of occurrences"
                       + " for any motif" +
View Full Code Here

        opts.addOption('Z', "minZScore", "The minimum Z-Score for any motif" +
                       " in the original network to be used for computing " +
                       "modularity (default: 1)",
                       true, "DOUBLE", "Algorithm Options");
        opts.addOption('O', "minOccurrences", "The minimum number of occurrences"
                       + " for any motif" +
                       " in the original network to be used for computing " +
                       "modularity (default: 1)",
                       true, "INT", "Algorithm Options");
View Full Code Here

                       true, "INT", "Algorithm Options");


//         opts.addOption('w', "weighted", "Uses a weighted edge simiarity",
//                           false, null, "Input Options");
        opts.addOption('d', "loadAsDirectedGraph", "Loads the input graph as " +
                       "a directed graph",
                       false, null, "Input Options");
        opts.addOption('m', "loadAsMultigraph", "Loads the input graph as " +
                       "a multigraph",
                       false, null, "Input Options");
View Full Code Here

*/
public class MatrixConverter {

    public static void main(String[] args) throws IOException {
        ArgOptions options = new ArgOptions();
        options.addOption('i', "inputFormat",
                          "the matrix format of the input matrix",
                          true, "STRING", "Required");
        options.addOption('o', "ouputFormat",
                          "the matrix format of the output matrix",
                          true, "STRING", "Required");
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.