fcmodeler.jsomap
Class OnlineWGUpdater

java.lang.Object
  |
  +--fcmodeler.jsomap.OnlineWGUpdater
All Implemented Interfaces:
jsomap.algorithm.parameters.OnlineUpdater

public class OnlineWGUpdater
extends java.lang.Object
implements jsomap.algorithm.parameters.OnlineUpdater

Version:
 
Author:
default

Constructor Summary
OnlineWGUpdater()
          Creates new OnlineWGUpdater
 
Method Summary
 void update(jsomap.map.Model model, jsomap.map.Node winner, jsomap.map.Map map, jsomap.algorithm.parameters.Kernel kernel, jsomap.data.Pattern pattern, int iteration)
          Updates the specified model using the specified pattern and the other parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnlineWGUpdater

public OnlineWGUpdater()
Creates new OnlineWGUpdater
Method Detail

update

public void update(jsomap.map.Model model,
                   jsomap.map.Node winner,
                   jsomap.map.Map map,
                   jsomap.algorithm.parameters.Kernel kernel,
                   jsomap.data.Pattern pattern,
                   int iteration)
Updates the specified model using the specified pattern and the other parameters. In general, the model becomes "more like" the pattern, dependant on the result of the kernel function.
Specified by:
update in interface jsomap.algorithm.parameters.OnlineUpdater
Parameters:
model - the model to update.
winner - the winning node.
map - the map.
kernel - the kernel function.
pattern - the pattern used to update the model.
iteration - the current iteration number.
Throws:
NullPointerException - if any of the parameters are null.
java.lang.IllegalArgumentException - if iteration < 0.