at.tuwien.ifs.somtoolbox.input
Class ESOMFormatInputReader

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
      extended by at.tuwien.ifs.somtoolbox.input.ESOMFormatInputReader
All Implemented Interfaces:
SOMInputReader

public class ESOMFormatInputReader
extends AbstractSOMInputReader

Reads a map in the ESOM Format (see http://databionic-esom.sourceforge.net/user.html#File_formats)

Version:
$Id: ESOMFormatInputReader.java 3583 2010-05-21 10:07:41Z mayer $
Author:
Rudolf Mayer

Nested Class Summary
 
Nested classes/interfaces inherited from class at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
AbstractSOMInputReader.UnitInformation
 
Field Summary
private  String bmFile
           
private  String weightsFile
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
allVectorNames, commonLabelPrefix, dim, gridLayout, gridTopology, labelled, metricName, unitInfo, xSize, ySize, zSize
 
Fields inherited from interface at.tuwien.ifs.somtoolbox.input.SOMInputReader
MAP_FILE, UNIT_FILE, WEIGHT_VECTOR
 
Constructor Summary
ESOMFormatInputReader(String weightsFile, String bmFile)
           
 
Method Summary
 String getFilePath()
          Returns the name of the path where the files are located.
static String getFormatName()
           
 String getMapDescriptionFileName()
          Returns the name of the map description file, or null if not loaded.
 String getUnitDescriptionFileName()
          Returns the name of the unit description file, or null if not loaded.
 String getWeightVectorFileName()
          Returns the name of the weight vector file, or null if not loaded.
 
Methods inherited from class at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
getBestContextUnitLabels, getBestContextUnitLabels, getCommonVectorLabelPrefix, getContextGateUnitLabels, getContextGateUnitLabels, getDim, getGridLayout, getGridTopology, getKaskiGateUnitLabels, getKaskiGateUnitLabels, getKaskiGateUnitLabelsWgt, getKaskiGateUnitLabelsWgt, getKaskiUnitLabels, getKaskiUnitLabels, getKaskiUnitLabelsWgt, getKaskiUnitLabelsWgt, getMappedVecs, getMappedVecs, getMappedVecsDist, getMappedVecsDist, getMetricName, getNrBestContext, getNrBestContext, getNrContextGateLabels, getNrContextGateLabels, getNrGateWeights, getNrGateWeights, getNrKaskiGateLabels, getNrKaskiGateLabels, getNrKaskiLabels, getNrKaskiLabels, getNrKaskiWeights, getNrKaskiWeights, getNrSomsMapped, getNrSomsMapped, getNrUnitLabels, getNrUnitLabels, getNrVecMapped, getNrVecMapped, getQuantErrorUnit, getQuantErrorUnit, getQuantErrorUnitAvg, getQuantErrorUnitAvg, getUnitLabels, getUnitLabels, getUnitLabelsQe, getUnitLabelsQe, getUnitLabelsWgt, getUnitLabelsWgt, getUrlMappedSoms, getUrlMappedSoms, getVectors, getXSize, getYSize, getZSize, initUnitInformation, isLabelled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weightsFile

private String weightsFile

bmFile

private String bmFile
Constructor Detail

ESOMFormatInputReader

public ESOMFormatInputReader(String weightsFile,
                             String bmFile)
                      throws NumberFormatException,
                             IOException,
                             SOMToolboxException
Throws:
NumberFormatException
IOException
SOMToolboxException
Method Detail

getFilePath

public String getFilePath()
Description copied from interface: SOMInputReader
Returns the name of the path where the files are located.

Returns:
the name of the path where the files are located.

getMapDescriptionFileName

public String getMapDescriptionFileName()
Description copied from interface: SOMInputReader
Returns the name of the map description file, or null if not loaded.

Returns:
the name of the map description file, or null if not loaded.

getUnitDescriptionFileName

public String getUnitDescriptionFileName()
Description copied from interface: SOMInputReader
Returns the name of the unit description file, or null if not loaded.

Returns:
the name of the unit description file, or null if not loaded.

getWeightVectorFileName

public String getWeightVectorFileName()
Description copied from interface: SOMInputReader
Returns the name of the weight vector file, or null if not loaded.

Returns:
the name of the weight vector file, or null if not loaded.

getFormatName

public static String getFormatName()