at.tuwien.ifs.somtoolbox.data
Class SOMLibVectorNormalization

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.data.SOMLibVectorNormalization
All Implemented Interfaces:
SOMToolboxApp

public class SOMLibVectorNormalization
extends Object
implements SOMToolboxApp

Handles the normalization of vector files in SOMLib format. This class can be run in standalone mode taking two arguments, i.e. input and output file. If the input file is gzip-compressed, the output will also be written gzip-compressed. The .gz suffix has to be specified manually in order not to alter filenames to something other than intended by the user.

Created on Mar 16, 2004

Version:
$Id: SOMLibVectorNormalization.java 3835 2010-10-08 14:45:09Z mayer $
Author:
Michael Dittenbach

Nested Class Summary
 
Nested classes/interfaces inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
SOMToolboxApp.Type
 
Field Summary
static SOMToolboxApp.Type APPLICATION_TYPE
           
static String DESCRIPTION
           
static String LONG_DESCRIPTION
           
static int NONE
          No normalisation.
static com.martiansoftware.jsap.Parameter[] OPTIONS
           
static int UNIT_LEN
          Normalise vectors to unit length.
 
Fields inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
DEV_BY_STRING, HOMEPAGE, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR
 
Constructor Summary
SOMLibVectorNormalization()
           
 
Method Summary
static void main(String[] args)
          Static method for standalone invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTIONS

public static final com.martiansoftware.jsap.Parameter[] OPTIONS

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

LONG_DESCRIPTION

public static final String LONG_DESCRIPTION
See Also:
Constant Field Values

APPLICATION_TYPE

public static final SOMToolboxApp.Type APPLICATION_TYPE

NONE

public static final int NONE
No normalisation.

See Also:
Constant Field Values

UNIT_LEN

public static final int UNIT_LEN
Normalise vectors to unit length.

See Also:
Constant Field Values
Constructor Detail

SOMLibVectorNormalization

public SOMLibVectorNormalization()
Method Detail

main

public static void main(String[] args)
Static method for standalone invocation.

Parameters:
args - Usage: method-type input-filename output-filename