it.unimi.dsi.mg4j.test
Class SelectStats

java.lang.Object
  extended by it.unimi.dsi.mg4j.test.SelectStats

public final class SelectStats
extends Object

Selects part of a stats using global frequency.


Method Summary
static String format(double d)
          Formats a number.
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

format

public static String format(double d)
Formats a number.

This method formats a double separating thousands and printing just two fractional digits.

Parameters:
d - a number.
Returns:
a string containing a pretty print of the number.

main

public static void main(String[] arg)
                 throws IOException,
                        com.martiansoftware.jsap.JSAPException,
                        ConfigurationException
Throws:
IOException
com.martiansoftware.jsap.JSAPException
ConfigurationException