public class SOMLibInputConcatenator extends Object implements SOMToolboxApp
VectorFileConcatenator
,
but more generic in the number of inputs it can take, and in the merging strategies, though it doesn't support the
weighting strategies implemented in VectorFileConcatenator
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
SOMLibInputConcatenator.mergeMode |
SOMToolboxApp.Type
Modifier and Type | Field and Description |
---|---|
static SOMToolboxApp.Type |
APPLICATION_TYPE |
static String |
DESCRIPTION |
static String |
LONG_DESCRIPTION |
static com.martiansoftware.jsap.Parameter[] |
OPTIONS |
DEV_BY_STRING, HOMEPAGE, INFO, INFO_TEXT, LICENSE_TEXT, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR
Constructor and Description |
---|
SOMLibInputConcatenator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
private static void |
merge(String[] inputTvs,
String[] inputVecs,
String outFile,
int percentage,
SOMLibInputConcatenator.mergeMode mode,
int[] size) |
static void |
mergeVectors(String[] inputTvs,
String[] inputVecs,
String outFile,
String modeString,
int[] size) |
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
public static final String DESCRIPTION
public static final String LONG_DESCRIPTION
public static final SOMToolboxApp.Type APPLICATION_TYPE
public static void main(String[] args) throws IOException, SOMLibFileFormatException
IOException
SOMLibFileFormatException
public static void mergeVectors(String[] inputTvs, String[] inputVecs, String outFile, String modeString, int[] size) throws IOException, SOMLibFileFormatException
IOException
SOMLibFileFormatException
private static void merge(String[] inputTvs, String[] inputVecs, String outFile, int percentage, SOMLibInputConcatenator.mergeMode mode, int[] size) throws IOException, SOMLibFileFormatException
IOException
SOMLibFileFormatException