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  java.lang.String bmFile
           
private  java.lang.String weightsFile
           
 
Fields inherited from class at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
allVectorNames, commonLabelPrefix, contentType, 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(java.lang.String weightsFile, java.lang.String bmFile)
           
 
Method Summary
 java.lang.String getFilePath()
          Returns the name of the path where the files are located.
static java.lang.String getFormatName()
           
 java.lang.String getMapDescriptionFileName()
          Returns the name of the map description file, or null if not loaded.
 java.lang.String getUnitDescriptionFileName()
          Returns the name of the unit description file, or null if not loaded.
 java.lang.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, getContentType, 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 java.lang.String weightsFile

bmFile

private java.lang.String bmFile
Constructor Detail

ESOMFormatInputReader

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

getFilePath

public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getFormatName()