root / org.gvsig.toolbox / trunk / org.gvsig.toolbox / org.gvsig.toolbox.algorithm / src / main / java / es / unex / sextante / gridStatistics / neighborhoodDiversity / NeighborhoodDiversityAlgorithm.java @ 59
History | View | Annotate | Download (604 Bytes)
1 | 59 | nbrodin | package es.unex.sextante.gridStatistics.neighborhoodDiversity; |
---|---|---|---|
2 | |||
3 | import es.unex.sextante.core.Sextante; |
||
4 | import es.unex.sextante.gridStatistics.neighborhood.patternBase.PatternBaseAlgorithm; |
||
5 | |||
6 | public class NeighborhoodDiversityAlgorithm |
||
7 | extends
|
||
8 | PatternBaseAlgorithm { |
||
9 | |||
10 | @Override
|
||
11 | public void defineCharacteristics() { |
||
12 | |||
13 | setName(Sextante.getText("Diversity"));
|
||
14 | setGroup(Sextante.getText("Pattern_analysis"));
|
||
15 | super.defineCharacteristics();
|
||
16 | |||
17 | } |
||
18 | |||
19 | |||
20 | @Override
|
||
21 | protected double processValues() { |
||
22 | |||
23 | return getDiversity();
|
||
24 | |||
25 | } |
||
26 | |||
27 | } |