|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.tuwien.ifs.somtoolbox.apps.viewer.fileutils.PocketSOMFormatUtils
public class PocketSOMFormatUtils
This class is mainly used to convert legacy descriptions into the PocketSOMFormat
Created on Jan 21, 2005
| Constructor Summary | |
|---|---|
PocketSOMFormatUtils()
|
|
| Method Summary | |
|---|---|
static void |
convertMapFormat(GrowingLayer layer,
String outputFileName)
Writes the map information of the given GrowingLayer to the given file in PocketSOMFormat |
static void |
convertMapFormat(String wgt,
String unit,
String map,
String outputFileName)
reads a given map description in SOMLibInputFormat and writes to the given file in PocketSOMFormat |
static StringBuilder |
createPocketSomMapping(GrowingLayer layer)
|
static int |
getMaxNumberOfMappedElements(GrowingLayer layer)
Gets the max number of mapped instances of a unit for the GrowingLayer. |
static int |
getMaxNumberOfMappedElements(SOMLibFormatInputReader ir)
get the max number of mapped instances of a unit for the given map |
static void |
lightenMapFormat(String wgt,
String unit,
String map,
String outputFileName,
float factor)
Deprecated. since streaming works this is not needed anymore (it never worked very well anyway) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PocketSOMFormatUtils()
| Method Detail |
|---|
public static int getMaxNumberOfMappedElements(SOMLibFormatInputReader ir)
public static int getMaxNumberOfMappedElements(GrowingLayer layer)
public static void convertMapFormat(String wgt,
String unit,
String map,
String outputFileName)
outputFileName - name of the PocketSOM formatted file to be createdpublic static StringBuilder createPocketSomMapping(GrowingLayer layer)
public static void convertMapFormat(GrowingLayer layer,
String outputFileName)
layer - The layer containing the map informationoutputFileName - name of the PocketSOM formatted file to be created
@Deprecated
public static void lightenMapFormat(String wgt,
String unit,
String map,
String outputFileName,
float factor)
outputFileName - name of the PocketSOM formatted file to be createdfactor - 0 an empty map, 1.0 for a full map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||