at.tuwien.ifs.somtoolbox.input
Class SOMPAKFormatInputReader
java.lang.Object
at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader
at.tuwien.ifs.somtoolbox.input.SOMPAKFormatInputReader
- All Implemented Interfaces:
- SOMInputReader
public class SOMPAKFormatInputReader
- extends AbstractSOMInputReader
Reads a SOM in SOMPAK file format. For details on this format, please see http://www.cis.hut.fi/research/som_pak/som_doc.txt.
- Version:
- $Id: SOMPAKFormatInputReader.java 3883 2010-11-02 17:13:23Z frank $
- Author:
- Rudolf Mayer
Fields inherited from class at.tuwien.ifs.somtoolbox.input.AbstractSOMInputReader |
allVectorNames, commonLabelPrefix, dim, gridLayout, gridTopology, labelled, metricName, unitInfo, xSize, ySize, zSize |
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 |
componentNames
private String[] componentNames
neighbourhoodFunction
private String neighbourhoodFunction
somPakFilename
private String somPakFilename
topology
private String topology
SOMPAKFormatInputReader
public SOMPAKFormatInputReader(String somPakFilename)
throws IOException
- Throws:
IOException
getComponentNames
public String[] getComponentNames()
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.
getNeighbourhoodFunction
public String getNeighbourhoodFunction()
getTopology
public String getTopology()
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()