A lot of things.
- Change tests directory location. - Fix Merlu CSV UTF8 encoding. - Make classes for ParasitesPeru2021.csv Parsing.
This commit is contained in:
124
src/ecoparasite/population/PopulationArgs.java
Normal file
124
src/ecoparasite/population/PopulationArgs.java
Normal file
@@ -0,0 +1,124 @@
|
||||
package ecoparasite.population;
|
||||
|
||||
public class PopulationArgs {
|
||||
|
||||
private int year;
|
||||
|
||||
private int number;
|
||||
private PopulationArgInterval length;
|
||||
private PopulationArgInterval width;
|
||||
private PopulationArgInterval prevalence;
|
||||
private PopulationArgInterval ic;
|
||||
private Double intensity;
|
||||
private Double abondance;
|
||||
|
||||
public PopulationArgs(
|
||||
int N,
|
||||
PopulationArgInterval length,
|
||||
PopulationArgInterval width,
|
||||
PopulationArgInterval prevalence,
|
||||
PopulationArgInterval ic,
|
||||
Double intensity,
|
||||
Double abondance
|
||||
){
|
||||
this.year = 0;
|
||||
this.number = N;
|
||||
this.length = length;
|
||||
this.width = width;
|
||||
this.prevalence = prevalence;
|
||||
this.ic = ic;
|
||||
this.intensity = intensity;
|
||||
this.abondance = abondance;
|
||||
}
|
||||
|
||||
public PopulationArgs(
|
||||
int year,
|
||||
int N,
|
||||
PopulationArgInterval length,
|
||||
PopulationArgInterval width,
|
||||
PopulationArgInterval prevalence,
|
||||
PopulationArgInterval ic,
|
||||
Double intensity,
|
||||
Double abondance
|
||||
){
|
||||
this.year = year;
|
||||
this.number = N;
|
||||
this.length = length;
|
||||
this.width = width;
|
||||
this.prevalence = prevalence;
|
||||
this.ic = ic;
|
||||
this.intensity = intensity;
|
||||
this.abondance = abondance;
|
||||
}
|
||||
|
||||
public PopulationArgs(
|
||||
int year
|
||||
){
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public PopulationArgs(){
|
||||
this.year = 0;
|
||||
}
|
||||
|
||||
public int getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
public int getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public PopulationArgInterval getLength() {
|
||||
return length;
|
||||
}
|
||||
|
||||
public PopulationArgInterval getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public PopulationArgInterval getPrevalence() {
|
||||
return prevalence;
|
||||
}
|
||||
|
||||
public PopulationArgInterval getIc() {
|
||||
return ic;
|
||||
}
|
||||
|
||||
public Double getIntensity() {
|
||||
return intensity;
|
||||
}
|
||||
|
||||
public Double getAbondance() {
|
||||
return abondance;
|
||||
}
|
||||
|
||||
public void setNumber(int number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public void setLength(PopulationArgInterval length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
public void setWidth(PopulationArgInterval width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public void setPrevalence(PopulationArgInterval prevalence) {
|
||||
this.prevalence = prevalence;
|
||||
}
|
||||
|
||||
public void setIc(PopulationArgInterval ic) {
|
||||
this.ic = ic;
|
||||
}
|
||||
|
||||
public void setIntensity(Double intensity) {
|
||||
this.intensity = intensity;
|
||||
}
|
||||
|
||||
public void setAbondance(Double abondance) {
|
||||
this.abondance = abondance;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user