fcmodeler.jsomap
Class BatchWGUpdater

java.lang.Object
  |
  +--fcmodeler.jsomap.BatchWGUpdater
All Implemented Interfaces:
jsomap.algorithm.parameters.BatchUpdater

public class BatchWGUpdater
extends java.lang.Object
implements jsomap.algorithm.parameters.BatchUpdater

Version:
 
Author:
default

Constructor Summary
BatchWGUpdater()
          Creates new BatchWGUpdater
 
Method Summary
 void update(jsomap.map.Model model, jsomap.map.Map map, jsomap.algorithm.parameters.Kernel kernel, java.util.List patterns, int iteration)
          Updates the specified model using the distribution of patterns and the other parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchWGUpdater

public BatchWGUpdater()
Creates new BatchWGUpdater
Method Detail

update

public void update(jsomap.map.Model model,
                   jsomap.map.Map map,
                   jsomap.algorithm.parameters.Kernel kernel,
                   java.util.List patterns,
                   int iteration)
Updates the specified model using the distribution of patterns and the other parameters. Each element of the List is a Set, containing the patterns assigned to the node at that index.
Specified by:
update in interface jsomap.algorithm.parameters.BatchUpdater
Parameters:
model - the model to update.
map - the map.
kernel - the kernel function.
patterns - the distribution of patterns.
iteration - the current iteration number.
Throws:
NullPointerException - if any of the parameters are null.
java.lang.IllegalArgumentException - if iteration < 0.