databionics.esom.train.search
Class LocalBmSearch

java.lang.Object
  extended by databionics.esom.train.search.BmSearch
      extended by databionics.esom.train.search.LocalBmSearch
Direct Known Subclasses:
Constant, MuchFasterLearning, MuchFasterLearning2, QuickLearning, QuickLearning2

public abstract class LocalBmSearch
extends BmSearch

special kind of bm search, searches in local range of old bm

Author:
Mario Noecker

Field Summary
protected static org.apache.log4j.Logger log
          interface to log4j system
protected  cern.colt.list.IntArrayList oldBestmatches
           
 
Fields inherited from class databionics.esom.train.search.BmSearch
som
 
Constructor Summary
LocalBmSearch()
           
 
Method Summary
 int findBestmatch(int index, int epoch)
          Find best matching weight for data vector.
 int getConstant()
           
abstract  int getRange(int epoch, int index)
           
 void init()
          init needed stuff
 void setConstant(int constant)
           
 void setOldBestmatches(cern.colt.list.IntArrayList oldBestmatches)
           
 
Methods inherited from class databionics.esom.train.search.BmSearch
setSOM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
interface to log4j system


oldBestmatches

protected cern.colt.list.IntArrayList oldBestmatches
Constructor Detail

LocalBmSearch

public LocalBmSearch()
Method Detail

getRange

public abstract int getRange(int epoch,
                             int index)

init

public void init()
init needed stuff

Specified by:
init in class BmSearch

findBestmatch

public int findBestmatch(int index,
                         int epoch)
Find best matching weight for data vector. Brute force search over neurons in range of old bm.

Specified by:
findBestmatch in class BmSearch
Parameters:
row - Row of the data pattern

setOldBestmatches

public void setOldBestmatches(cern.colt.list.IntArrayList oldBestmatches)
Specified by:
setOldBestmatches in class BmSearch
Parameters:
oldBestmatches - The oldBestmatches to set.

getConstant

public int getConstant()
Returns:
Returns the konstant.

setConstant

public void setConstant(int constant)
Specified by:
setConstant in class BmSearch
Parameters:
konstant - The konstant to set.


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.