databionics.esom.renderer.background
Class UMatrixRenderer

java.lang.Object
  extended by databionics.esom.renderer.background.BackgroundRenderer
      extended by databionics.esom.renderer.background.UMatrixRenderer
All Implemented Interfaces:
BmChangeListener, LrnChangeListener, ParamChangeListener, WtsChangeListener

public class UMatrixRenderer
extends BackgroundRenderer

U-Matrix background renderer. The height is the mean distance to the eight direct neighbors.


Field Summary
protected static org.apache.log4j.Logger log
          interface to log4j system
 
Fields inherited from class databionics.esom.renderer.background.BackgroundRenderer
bmChanged, cacheMatrix, lrnChanged, paramChanged, renderer, wtsChanged
 
Constructor Summary
UMatrixRenderer()
          Standard constructor
 
Method Summary
 void init()
          Optional initialization of background renderer.
 boolean isColorBackground()
          Whether this background renderer returns color matrix.
 cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
          Calculate the height above each neuron with the U-Matrix method.
 
Methods inherited from class databionics.esom.renderer.background.BackgroundRenderer
bmChanged, getCaption, getRenderer, lrnChanged, paramChanged, resetCache, setRenderer, wtsChanged
 
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

Constructor Detail

UMatrixRenderer

public UMatrixRenderer()
Standard constructor

Method Detail

render

public cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
Calculate the height above each neuron with the U-Matrix method.

Specified by:
render in class BackgroundRenderer
Parameters:
renderer - The invoking Renderer

isColorBackground

public boolean isColorBackground()
Description copied from class: BackgroundRenderer
Whether this background renderer returns color matrix. If false a height matrix is returned.

Specified by:
isColorBackground in class BackgroundRenderer
Returns:
true if this BackgroundRenderer returns colors, false if heights

init

public void init()
Description copied from class: BackgroundRenderer
Optional initialization of background renderer.

Overrides:
init in class BackgroundRenderer


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