com.rapidminer.tools.math.som
Interface AdaptationFunction

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
RitterAdaptation

public interface AdaptationFunction
extends java.io.Serializable

This interface provides the methods for adapting nodes to an input.

Author:
Sebastian Land

Method Summary
 double[] adapt(double[] stimulus, double[] nodeValue, double distanceFromImpact, int time, int timemax)
          This method returns the new value of a node, after it had adopted to a stimulus.
 double getAdaptationRadius(double[] stimulus, int time, int timemax)
          This method returns the maximum adaption radius, given the input stimulus, the current trainingsphase (time) and the total number of trainingsphases (timemax).
 

Method Detail

adapt

double[] adapt(double[] stimulus,
               double[] nodeValue,
               double distanceFromImpact,
               int time,
               int timemax)
This method returns the new value of a node, after it had adopted to a stimulus. The stimulus and the old node value are given. The distance from the impact of the stimulus may influence the strength of the adoption to the stimulus, as may the current trainingsphase (time) and the total number of trainingsphases (timemax)


getAdaptationRadius

double getAdaptationRadius(double[] stimulus,
                           int time,
                           int timemax)
This method returns the maximum adaption radius, given the input stimulus, the current trainingsphase (time) and the total number of trainingsphases (timemax). It may be used for finding all nodes effected by the stimulus.



Copyright © 2001-2009 by Rapid-I