In Agent.java (lib ice4j), calling method getHarvestCount() returns
the same result as calling getTotalHarvestingTime().
In source code:
public int getHarvestCount()
{
int harvestCount = 0;
for(CandidateHarvester harvester : harvesters)
{
harvestCount
+= harvester.getHarvestStatistics().getHarvestDuration();
}
return harvestCount;
}
It must be:
public int getHarvestCount()
{
int harvestCount = 0;
for(CandidateHarvester harvester : harvesters)
{
harvestCount
+= harvester.getHarvestStatistics().getHarvestCount();
}
return harvestCount;
}
Luca