if (Argv.length == 0) { System.err.println(b.listOptions().toString()); return;
try { if ( (Argv.length == 0) || (Utils.getFlag('h', Argv)) ) { printOptions(b); return;
    static public void main(String [] Argv) {		BayesNetGenerator b = new BayesNetGenerator();		if (Argv.length == 0) {			System.err.println(b.listOptions().toString());			return;		}    	try {	    	b.setOptions(Argv);	    		    	b.generateRandomNetwork();	    	if (!b.m_bGenerateNet) { // skip if not required				b.generateInstances();	    	}	    	System.out.println(b.toString());    	} catch (Exception e) {    		e.printStackTrace();    		System.err.println(b.listOptions().toString());    	}    } // main