Commit 8f73b6a9 authored by patrick.lambert's avatar patrick.lambert
Browse files

deprecate obersers for exploring fish distribution

parent 3c34625e
......@@ -193,7 +193,6 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
*/
private transient Map<String, Integer> obs1900;
public static void main(String[] args) {
DiadromousFishGroup diadromousFishGroup = new DiadromousFishGroup(new Pilot(), null, null);
......@@ -815,8 +814,9 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
// ========================================================
// obeserver to explore the distribution
// observer to explore fish distribution
// ========================================================
@Deprecated
@Observable(description = "Higher Populated Latitude")
public double getHigherPopulatedLatitude() {
double latitude = 0.0;
......@@ -832,6 +832,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
@Deprecated
@Observable(description = "Number of colonized basins")
public double getNbColonizedBasins() {
int nb = 0;
......@@ -846,6 +847,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
@Deprecated
@Observable(description = "Northern colonized basins")
public double getNorthernBasins() {
int northernBasin = Integer.MAX_VALUE;
......@@ -860,6 +862,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
@Deprecated
@Observable(description = "Southern colonized basins")
public double getSouthernBasins() {
int southernBasin = Integer.MIN_VALUE;
......@@ -874,6 +877,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
@Deprecated
@Observable(description = "Range distribution with latitude")
public Double[] getRangeDistributionWithLat() {
// TODO keep the extreme latitudes from the catchment
......@@ -907,6 +911,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
@Deprecated
@Observable(description = "Range distribution")
public double[] getRangeDistribution() {
double southernBasin = 0;
......@@ -940,6 +945,9 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
}
// ========================================================
// observer to explore fish abundance
// ========================================================
/**
* @return sum of effectives in all the river basins
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment