|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttopology.GaussNeighbourhoodFunction
public class GaussNeighbourhoodFunction
Gauss neighbourhood Function
| Constructor Summary | |
|---|---|
GaussNeighbourhoodFunction(int radius)
Creates a new instance of GaussNeighbourhoodFunction with specified radius |
|
| Method Summary | |
|---|---|
double[] |
getParameters()
Return array containing parameter r - radius |
double |
getValue(int distance)
Return value calculated by function describe as exp(-(k^2))/(2*r^2)) |
void |
setParameters(double[] parameters)
Set parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GaussNeighbourhoodFunction(int radius)
radius - Radius| Method Detail |
|---|
public double[] getParameters()
getParameters in interface NeighbourhoodFunctionModelpublic void setParameters(double[] parameters)
setParameters in interface NeighbourhoodFunctionModelparameters - constat valuepublic double getValue(int distance)
getValue in interface NeighbourhoodFunctionModeldistance - distance value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||