public class SOMLibMapDescription extends Object
Constructor and Description |
---|
SOMLibMapDescription() |
SOMLibMapDescription(String fileName) |
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key) |
static void |
main(String[] args) |
void |
readMapDescriptionFile(String fileName) |
void |
setProperty(String propertyName,
boolean value) |
void |
setProperty(String propertyName,
Date value) |
void |
setProperty(String propertyName,
double value) |
void |
setProperty(String propertyName,
double[] value) |
void |
setProperty(String propertyName,
int value) |
void |
setProperty(String propertyName,
long value) |
void |
setProperty(String propertyName,
String value) |
private void |
setProperty(String propertyName,
String value,
String[] validPropertyNames,
Class<?> type) |
void |
writeMapDescriptionFile(String fileName) |
public static final String TYPE
public static final String GRID_TOPOLOGY
public static final String GRID_LAYOUT
public static final String X_DIM
public static final String Y_DIM
public static final String Z_DIM
public static final String VEC_DIM
public static final String STORAGE_DATE
public static final String TRAINING_TIME
public static final String LEARNRATE_TYPE
public static final String LEARNRATE_INIT
public static final String NEIGHBOURHOOD_TYPE
public static final String NEIGHBOURHOOD_INIT
public static final String RANDOM_INIT
public static final String TOTAL_ITERATIONS
public static final String TOTAL_TRAINING_VECTORS
public static final String VECTORS_NORMALISED
public static final String QUANT_ERROR_MAP
public static final String QUANT_ERROR_VECTOR
public static final String URL_TRAINING_VECTOR
public static final String URL_TRAINING_VECTOR_DESCRIPTION
public static final String URL_WEIGHT_VECTOR
public static final String URL_QUANT_ERROR_MAP
public static final String URL_MAPPED_INPUT_VECTOR
public static final String URL_MAPPED_INPUT_VECTOR_DESCRIPTION
public static final String URL_UNIT_DESCRIPTION
public static final String URL_TEMPLATE_VECTOR
public static final String URL_LABELS
public static final String URL_DATA_WINNER_MAPPING
public static final String URL_CLASS_INFO
public static final String METRIC
public static final String LAYER_REVISION
public static final String DESCRIPTION
public static final String AVAILABLE_VIS
public static final String DATA_TYPE
public static final String DATA_DIM
public static final String ADAPTIVE_COORDINATES_THRESHOLD
private static final String[] propertyNames
private static final String[] integerFields
private static final String[] doubleFields
private static final String[] doubleArrrayFields
private static final String[] longFields
private static final String[] dateFields
private static final String[] booleanFields
private static final SimpleDateFormat simpleDateFormat
public SOMLibMapDescription(String fileName) throws IOException
IOException
public SOMLibMapDescription()
public void readMapDescriptionFile(String fileName) throws IOException
IOException
public void setProperty(String propertyName, String value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, int value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, double value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, double[] value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, boolean value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, long value) throws SOMToolboxException
SOMToolboxException
public void setProperty(String propertyName, Date value) throws SOMToolboxException
SOMToolboxException
private void setProperty(String propertyName, String value, String[] validPropertyNames, Class<?> type) throws SOMToolboxException
SOMToolboxException
public void writeMapDescriptionFile(String fileName) throws IOException
IOException
public static void main(String[] args)