Package com.actelion.research.calc
Class BinarySOM
- java.lang.Object
-
- com.actelion.research.calc.DataProcessor
-
- com.actelion.research.calc.SelfOrganizedMap
-
- com.actelion.research.calc.BinarySOM
-
public class BinarySOM extends SelfOrganizedMap
-
-
Field Summary
-
Fields inherited from class com.actelion.research.calc.SelfOrganizedMap
cModeFastBestMatchFinding, cModeGrowDuringOptimization, cModeNeighbourhoodGaussean, cModeNeighbourhoodLinear, cModeNeighbourhoodMexicanHat, cModeTopologyUnlimited, mController, mInfluence, mMode, mNX, mNY, mReferenceVector
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyInfluences(java.lang.Object inputVector, java.awt.Point location)
protected void
calculateInfluences(double time)
double
getDissimilarity(java.lang.Object vector1, java.lang.Object vector2)
protected java.lang.Object
getMeanVector(java.lang.Object vector1, java.lang.Object vector2)
protected java.lang.Object
getRandomVector()
protected void
initializeNormalization()
java.lang.Object
normalizeVector(java.lang.Object vector)
void
read(java.io.BufferedReader reader)
protected java.lang.String
referenceVectorToString(int x, int y)
protected void
setReferenceVector(int x, int y, java.lang.String ref)
protected void
updateReference(java.lang.Object inputVector, java.lang.Object referenceVector, double influence)
void
write(java.io.BufferedWriter writer)
-
Methods inherited from class com.actelion.research.calc.SelfOrganizedMap
applyInfluencesSMP, extractValue, findBestMatchLocation, findBestMatchLocationQuickly, findBestMatchLocationSMP, findExactMatchLocation, getChaos, getCreationMode, getHeight, getInfluence, getMatchScore, getNeighbourInfluence, getReferenceVector, getTimeInfluence, getWidth, initializeReferenceVectors, organize, setController
-
Methods inherited from class com.actelion.research.calc.DataProcessor
addProgressListener, removeProgressListener, setThreadMaster, setVerbose, startProgress, stopProgress, threadMustDie, updateProgress
-
-
-
-
Method Detail
-
initializeNormalization
protected void initializeNormalization()
- Specified by:
initializeNormalization
in classSelfOrganizedMap
-
write
public void write(java.io.BufferedWriter writer) throws java.io.IOException
- Overrides:
write
in classSelfOrganizedMap
- Throws:
java.io.IOException
-
read
public void read(java.io.BufferedReader reader) throws java.lang.Exception
- Overrides:
read
in classSelfOrganizedMap
- Throws:
java.lang.Exception
-
referenceVectorToString
protected java.lang.String referenceVectorToString(int x, int y)
- Specified by:
referenceVectorToString
in classSelfOrganizedMap
-
setReferenceVector
protected void setReferenceVector(int x, int y, java.lang.String ref) throws java.lang.Exception
- Specified by:
setReferenceVector
in classSelfOrganizedMap
- Throws:
java.lang.Exception
-
getDissimilarity
public double getDissimilarity(java.lang.Object vector1, java.lang.Object vector2)
- Specified by:
getDissimilarity
in classSelfOrganizedMap
-
updateReference
protected void updateReference(java.lang.Object inputVector, java.lang.Object referenceVector, double influence)
- Specified by:
updateReference
in classSelfOrganizedMap
-
getRandomVector
protected java.lang.Object getRandomVector()
- Specified by:
getRandomVector
in classSelfOrganizedMap
-
getMeanVector
protected java.lang.Object getMeanVector(java.lang.Object vector1, java.lang.Object vector2)
- Specified by:
getMeanVector
in classSelfOrganizedMap
-
normalizeVector
public java.lang.Object normalizeVector(java.lang.Object vector)
- Specified by:
normalizeVector
in classSelfOrganizedMap
-
calculateInfluences
protected void calculateInfluences(double time)
- Overrides:
calculateInfluences
in classSelfOrganizedMap
-
applyInfluences
protected void applyInfluences(java.lang.Object inputVector, java.awt.Point location)
- Overrides:
applyInfluences
in classSelfOrganizedMap
-
-