|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.n52.math.AbstractAlgorithm
org.n52.operation.NdviAlgorithm
public class NdviAlgorithm
NDVI. First example implementation for the interface Algorithm
| Constructor Summary | |
|---|---|
NdviAlgorithm()
|
|
| Method Summary | |
|---|---|
double |
calculate(double[] params)
calculates the result of the Algorithm for these parameters. |
java.lang.String |
getVersion()
may return the version of the Algorithm. |
| Methods inherited from class org.n52.math.AbstractAlgorithm |
|---|
getDescription, getDocURL, getName, getNrParams, getParamDescription, getParamName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.n52.math.Algorithm |
|---|
getDescription, getDocURL, getName, getNrParams, getParamDescription, getParamName |
| Constructor Detail |
|---|
public NdviAlgorithm()
| Method Detail |
|---|
public java.lang.String getVersion()
Algorithm
getVersion in interface AlgorithmgetVersion in class AbstractAlgorithmpublic double calculate(double[] params)
Algorithm
calculate in interface Algorithmparams - the Array has to have as many elements as specified with Algorithm.getNrParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||