|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatabionics.io.BaseFile
databionics.io.Array2DFile
databionics.io.Array3DFile
databionics.io.WtsFile
public class WtsFile
File that stores weights for a SOM grid
| Field Summary | |
|---|---|
protected java.lang.String |
distance
Data space distance function name |
protected java.lang.Class |
grid
Grid class used in training created from comment |
protected static org.apache.log4j.Logger |
log
Log4j logging. |
| Fields inherited from class databionics.io.Array3DFile |
|---|
cols, rows |
| Fields inherited from class databionics.io.Array2DFile |
|---|
data |
| Fields inherited from class databionics.io.BaseFile |
|---|
allowEmptyLines, comment, commentPrefix, delimiter, delimiters, file, header, headerPrefix, loc, nf |
| Constructor Summary | |
|---|---|
WtsFile()
Standard constructor |
|
WtsFile(int rows,
int cols,
int dim)
Constructor with size for an empty array. |
|
WtsFile(java.lang.String filename)
Constructor with a filename |
|
| Method Summary | |
|---|---|
java.lang.String |
getDistance()
Get the name of the dataspace distance function. |
static FileType |
getFileType()
Get the type of file. |
java.lang.Class |
getGrid()
Get the class of the grid used in training. |
protected void |
parseHeader()
Parse the header. |
| Methods inherited from class databionics.io.Array3DFile |
|---|
buildHeader, getColumns, getDimensions, getRows, init |
| Methods inherited from class databionics.io.Array2DFile |
|---|
buildLine, get, getData, getSize, init, parseLine, set, setData, setData |
| Methods inherited from class databionics.io.BaseFile |
|---|
checkHeader, checkHeaderAgainstSize, getComment, getFile, getFilename, getHeader, getLocale, getNumberFormat, isHeader, isNaN, isNumber, load, load, parseError, save, save, setComment, setFilename, setLocale, writeStringList, writeStringList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger log
protected java.lang.Class grid
protected java.lang.String distance
| Constructor Detail |
|---|
public WtsFile()
public WtsFile(java.lang.String filename)
filename - Name of the file
public WtsFile(int rows,
int cols,
int dim)
rows - Rows of data array.cols - Columns of data array.dim - Dimension of data array.| Method Detail |
|---|
public java.lang.Class getGrid()
public java.lang.String getDistance()
protected void parseHeader()
parseHeader in class Array3DFilepublic static FileType getFileType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||