|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.esom.neighborhood.Neighborhood
databionics.esom.neighborhood.BubbleNeighborhood
public class BubbleNeighborhood
Very simple neighborhood kernel with a constant weight of 1. Sometimes called plateu instead of bubble.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
interface to log4j system |
Fields inherited from class databionics.esom.neighborhood.Neighborhood |
---|
radius, scaling |
Constructor Summary | |
---|---|
BubbleNeighborhood()
Create a new neighborhood object |
|
BubbleNeighborhood(int radius,
double scaling)
Create a new neighborhood object |
Method Summary | |
---|---|
protected double |
calculate(int distance)
Calculate the weight value for this distance. |
void |
init()
No initialization needed. |
Methods inherited from class databionics.esom.neighborhood.Neighborhood |
---|
get, setRadius, setScaling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
Constructor Detail |
---|
public BubbleNeighborhood()
public BubbleNeighborhood(int radius, double scaling)
radius
- radius of kernelscaling
- scaling factor for all weightsMethod Detail |
---|
protected double calculate(int distance)
calculate
in class Neighborhood
distance
- distance from center ([0..radius])
public void init()
init
in class Neighborhood
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |