at.tuwien.ifs.somtoolbox.layers
Interface TrainingInterruptionListener

All Known Implementing Classes:
GrowingSOM.IntermediateSOMDumper, SDHTrainingSequenceGenerator

public interface TrainingInterruptionListener

This interface should be implemented by classes that want to train a map with regular interruptions to perform special operations during training.

Version:
$Id: TrainingInterruptionListener.java 3583 2010-05-21 10:07:41Z mayer $
Author:
Michael Dittenbach

Method Summary
 void interruptionOccurred(int currentIteration, int numIterations)
          Is called when an interruption of the training process occurs.
 

Method Detail

interruptionOccurred

void interruptionOccurred(int currentIteration,
                          int numIterations)
Is called when an interruption of the training process occurs.

Parameters:
currentIteration - the iteration when the interruption occurred.
numIterations - the target iteration number where the training will stop.