Commit 7867b61c authored by Lambert Patrick's avatar Lambert Patrick
Browse files

correct name of the method

parent 3e9e3721
......@@ -40,21 +40,21 @@
<fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<graphType>LINE</graphType>
<title>Mean age of female spawners</title>
<title>Mean age at first reproduction for female</title>
<xAxisLabel>Time (season)</xAxisLabel>
<yAxisLabel>age (year)</yAxisLabel>
<variableName>getMeanLengthOfFemaleSpawnerForFirstTime</variableName>
<variableName>getMeanAgeOfFirstReprodutionForFemale</variableName>
</fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<graphType>LINE</graphType>
<title>Mean age of male spawners</title>
<title>Mean age at first reproduction for male</title>
<xAxisLabel>Time (season)</xAxisLabel>
<yAxisLabel>age (year)</yAxisLabel>
<variableName>getMeanLengthOfMaleSpawnerForFirstTime</variableName>
<variableName>getMeanAgeOfFirstReprodutionForMale</variableName>
</fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<graphType>LINE</graphType>
<title>Statistic for male spawners age</title>
......@@ -63,6 +63,14 @@
<variableName>computeMaleSpawnerForFirstTimeSummaryStatistic</variableName>
</fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
<graphType>LINE</graphType>
<title>Statistic for female spawners age</title>
<xAxisLabel>Time (season)</xAxisLabel>
<yAxisLabel>age (year)</yAxisLabel>
<variableName>computeFemaleSpawnerForFirstTimeSummaryStatistic</variableName>
</fr.cemagref.observation.observers.jfreechart.TemporalSerieChart>
</observers>
</fr.cemagref.observation.kernel.ObservablesHandler>
</entry>
......
......@@ -660,7 +660,7 @@ public class DiadromousFishGroup extends AquaNismsGroup< DiadromousFish, BasinNe
sum += val * val;
}
}
System.out.println("sum female: " + sum);
//System.out.println("sum female: " + sum);
return sum;
}
......@@ -670,8 +670,8 @@ public class DiadromousFishGroup extends AquaNismsGroup< DiadromousFish, BasinNe
}
@Observable(description="mean length for female spawners For First Time")
public double getMeanLengthOfFemaleSpawnerForFirstTime() {
@Observable(description="mean age at first reproduction for female")
public double getMeanAgeOfFirstReprodutionForFemale() {
double sum = 0;
double nb =0;
for (RiverBasin riverBasin : getEnvironment().getRiverBasins()) {
......@@ -692,7 +692,7 @@ public class DiadromousFishGroup extends AquaNismsGroup< DiadromousFish, BasinNe
sum += val * val;
}
}
System.out.println("sum male: " + sum);
//System.out.println("sum male: " + sum);
return sum;
}
......@@ -701,8 +701,8 @@ public class DiadromousFishGroup extends AquaNismsGroup< DiadromousFish, BasinNe
return computeMaleSpawnerForFirstTimeSummaryStatisticWithTarget(4.5);
}
@Observable(description="mean length for male spawners For First Time")
public double getMeanLengthOfMaleSpawnerForFirstTime() {
@Observable(description="mean age of first reprodution for male")
public double getMeanAgeOfFirstReprodutionForMale() {
double sum = 0;
double nb =0;
for (RiverBasin riverBasin : getEnvironment().getRiverBasins()) {
......
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