Finish Completion Linear.

This commit is contained in:
2026-04-08 10:32:11 +02:00
parent d0ae9baed6
commit 1c264a0860
65 changed files with 3708 additions and 298 deletions

View File

@@ -22,6 +22,12 @@ public class PopulationArgs {
private Double intensity;
private Double abondance;
/*
Champs pour l'évaluation.
*/
private String zone;
/**
* Constructeur.
* Toutes les données peuvent être préremplis dans ce constructeur sauf l'année.
@@ -143,6 +149,8 @@ public class PopulationArgs {
return abondance;
}
public String getZone() { return zone; }
public void setNumber(int number) {
this.number = number;
}
@@ -171,4 +179,23 @@ public class PopulationArgs {
this.abondance = abondance;
}
public void setZone(String zone) { this.zone = zone; }
@Override
public String toString(){
return String.format( "Année: %d, N: %d, Length: %f, Width: %f, Prevalence: %f, IC: %f, Intensity: %f, Abondance: %f, Zone: %s",
this.year,
this.number,
this.length != null ? this.length.transformToDouble() : 0.0,
this.width != null ? this.width.transformToDouble() : 0.0,
this.prevalence != null ? this.prevalence.transformToDouble() : 0.0,
this.ic != null ? this.ic.transformToDouble() : 0.0,
this.intensity,
this.abondance,
this.zone
);
}
}