at.tuwien.ifs.somtoolbox.models
Class AbstractNetworkModel

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.models.AbstractNetworkModel
All Implemented Interfaces:
NetworkModel
Direct Known Subclasses:
GHSOM, GrowingCellStructures, GrowingSOM

public abstract class AbstractNetworkModel
extends Object
implements NetworkModel

This class provides basic support for implementing a NetworkModel.

Version:
$Id: AbstractNetworkModel.java 3830 2010-10-06 16:29:11Z mayer $
Author:
Rudolf Mayer

Field Summary
static int DEFAULT_LABEL_COUNT
           
protected  boolean labelled
          whether or not the SOM is labelled
protected  SharedSOMVisualisationData sharedInputObjects
           
protected  Date trainingStart
           
 
Constructor Summary
AbstractNetworkModel()
           
 
Method Summary
protected static InputData getInputData(FileProperties fileProps)
           
 SharedSOMVisualisationData getSharedInputObjects()
           
 boolean isLabelled()
           
protected  String printTrainingTime()
           
 void setLabelled(boolean labelled)
           
 void setSharedInputObjects(SharedSOMVisualisationData sharedInputObjects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LABEL_COUNT

public static final int DEFAULT_LABEL_COUNT
See Also:
Constant Field Values

trainingStart

protected Date trainingStart

labelled

protected boolean labelled
whether or not the SOM is labelled


sharedInputObjects

protected SharedSOMVisualisationData sharedInputObjects
Constructor Detail

AbstractNetworkModel

public AbstractNetworkModel()
Method Detail

getInputData

protected static InputData getInputData(FileProperties fileProps)

printTrainingTime

protected String printTrainingTime()

setSharedInputObjects

public void setSharedInputObjects(SharedSOMVisualisationData sharedInputObjects)

getSharedInputObjects

public SharedSOMVisualisationData getSharedInputObjects()

isLabelled

public boolean isLabelled()

setLabelled

public void setLabelled(boolean labelled)