public class PopulationImpl extends PopulationAbstract
abundanceReferenceMonth, capturability, capturabilityComment, capturabilityEquation, capturabilityEquationUsed, caractBioComment, comment, computeFOnLandings, fbarGroupMax, fbarGroupMin, fishingMortalityOtherFleets, gearSelectivity, geographicId, growth, growthReverse, mappingZoneReproZoneRecru, maturityOgiveEquation, meanWeight, migrationComment, monthGapBetweenReproRecrutement, name, naturalDeathRate, plusGroup, populationGroup, populationSeasonInfo, populationZone, price, recruitmentComment, recruitmentDistribution, recruitmentEquation, recruitmentZone, reproductionEquation, reproductionRateEquation, reproductionZone, seasonsComment, species, zonesComment
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
PROPERTY_ABUNDANCE_REFERENCE_MONTH, PROPERTY_CAPTURABILITY, PROPERTY_CAPTURABILITY_COMMENT, PROPERTY_CAPTURABILITY_EQUATION, PROPERTY_CAPTURABILITY_EQUATION_USED, PROPERTY_CARACT_BIO_COMMENT, PROPERTY_COMMENT, PROPERTY_COMPUTE_FON_LANDINGS, PROPERTY_FBAR_GROUP_MAX, PROPERTY_FBAR_GROUP_MIN, PROPERTY_FISHING_MORTALITY_OTHER_FLEETS, PROPERTY_GEAR_SELECTIVITY, PROPERTY_GEOGRAPHIC_ID, PROPERTY_GROWTH, PROPERTY_GROWTH_REVERSE, PROPERTY_MAPPING_ZONE_REPRO_ZONE_RECRU, PROPERTY_MATURITY_OGIVE_EQUATION, PROPERTY_MEAN_WEIGHT, PROPERTY_MIGRATION_COMMENT, PROPERTY_MONTH_GAP_BETWEEN_REPRO_RECRUTEMENT, PROPERTY_NAME, PROPERTY_NATURAL_DEATH_RATE, PROPERTY_PLUS_GROUP, PROPERTY_POPULATION_GROUP, PROPERTY_POPULATION_SEASON_INFO, PROPERTY_POPULATION_ZONE, PROPERTY_PRICE, PROPERTY_RECRUITMENT_COMMENT, PROPERTY_RECRUITMENT_DISTRIBUTION, PROPERTY_RECRUITMENT_EQUATION, PROPERTY_RECRUITMENT_ZONE, PROPERTY_REPRODUCTION_EQUATION, PROPERTY_REPRODUCTION_RATE_EQUATION, PROPERTY_REPRODUCTION_ZONE, PROPERTY_SEASONS_COMMENT, PROPERTY_SPECIES, PROPERTY_ZONES_COMMENT
Constructor and Description |
---|
PopulationImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Overwrite delete.
|
double |
getAge(double length,
PopulationGroup group)
Compute age of group with length
|
org.nuiton.math.matrix.MatrixND |
getCapturability() |
org.nuiton.math.matrix.MatrixND |
getFishingMortalityOtherFleetsMatrix()
Return Matrix [groups x zones] of Fishing mortality other fleets.
|
double |
getLength(double age,
PopulationGroup group)
Compute length of group with age.
|
org.nuiton.math.matrix.MatrixND |
getMappingZoneReproZoneRecru() |
double |
getNaturalDeathBirth(Zone zone) |
org.nuiton.math.matrix.MatrixND |
getNaturalDeathRateMatrix()
Return Matrix [groups x zones] of Natural death rate.
|
PopulationSeasonInfo |
getPopulationSeasonInfo(Month month) |
org.nuiton.math.matrix.MatrixND |
getRecruitmentMatrix(TimeStep step,
Population pop,
RecruitmentInputMap recruitmentInputs,
org.nuiton.math.matrix.MatrixND result) |
org.nuiton.math.matrix.MatrixND |
N2DToN1D(org.nuiton.math.matrix.MatrixND N)
Convertie une matrice N 2D en une matrice N 1D strucutre pour les calculer.
|
void |
setCapturability(org.nuiton.math.matrix.MatrixND value) |
void |
setCapturabilityEquationContent(String content) |
void |
setFishingMortalityOtherFleetsContent(String content) |
void |
setGrowthContent(String content) |
void |
setGrowthReverseContent(String content) |
void |
setMaturityOgiveEquationContent(String content) |
void |
setMeanWeightContent(String content) |
void |
setName(String value)
Override to change name of equation.
|
void |
setNaturalDeathRateContent(String content) |
void |
setPopulationGroup(List<PopulationGroup> populationGroup)
Surcharge car avec une aggregation (lien fort) il ne faut pas remplacer
la collection, mais vider celle qui existe et y mettre les nouveaux elements
sinon hibernate perd la tete et leve des exceptions (detecter lors de l'implantation
de l'import json)
|
void |
setPopulationSeasonInfo(List<PopulationSeasonInfo> populationSeasonInfo)
Surcharge car avec une aggregation (lien fort) il ne faut pas remplacer
la collection, mais vider celle qui existe et y mettre les nouveaux elements
sinon hibernate perd la tete et leve des exceptions (detecter lors de l'implantation
de l'import json)
|
void |
setPopulationZone(List<Zone> populationZone)
Surcharge car avec une aggregation (lien fort) il ne faut pas remplacer
la collection, mais vider celle qui existe et y mettre les nouveaux elements
sinon hibernate perd la tete et leve des exceptions (detecter lors de l'implantation
de l'import json)
|
void |
setPriceContent(String content) |
void |
setRecruitmentEquationContent(String content) |
void |
setReproductionEquationContent(String content) |
void |
setReproductionRateEquationContent(String content) |
org.nuiton.math.matrix.MatrixND |
split2D(org.nuiton.math.matrix.MatrixND N)
A partir d'une matrice N structure selon l'ecriture matricielle
en classe puis en zone, construit une matrice 2D en Classe(X)
et en Zone(Y)
|
String |
toString() |
accept, accept0, addAllPopulationGroup, addAllPopulationSeasonInfo, addAllPopulationZone, addAllRecruitmentZone, addAllReproductionZone, addPopulationGroup, addPopulationSeasonInfo, addPopulationZone, addRecruitmentZone, addReproductionZone, clearPopulationGroup, clearPopulationSeasonInfo, clearPopulationZone, clearRecruitmentZone, clearReproductionZone, getAbundanceReferenceMonth, getAggregate, getCapturabilityComment, getCapturabilityEquation, getCapturabilityEquationUsed, getCaractBioComment, getComment, getComposite, getComputeFOnLandings, getFbarGroupMax, getFbarGroupMin, getFishingMortalityOtherFleets, getGeographicId, getGrowth, getGrowthReverse, getMaturityOgiveEquation, getMeanWeight, getMigrationComment, getMonthGapBetweenReproRecrutement, getName, getNaturalDeathRate, getPlusGroup, getPopulationGroup, getPopulationGroupByTopiaId, getPopulationSeasonInfo, getPopulationSeasonInfoByTopiaId, getPopulationZone, getPopulationZoneByTopiaId, getPrice, getRecruitmentComment, getRecruitmentDistribution, getRecruitmentEquation, getRecruitmentZone, getRecruitmentZoneByTopiaId, getReproductionEquation, getReproductionRateEquation, getReproductionZone, getReproductionZoneByTopiaId, getSeasonsComment, getSpecies, getZonesComment, isCapturabilityEquationUsed, isComputeFOnLandings, isPlusGroup, isPopulationGroupEmpty, isPopulationSeasonInfoEmpty, isPopulationZoneEmpty, isRecruitmentZoneEmpty, isReproductionZoneEmpty, removePopulationGroup, removePopulationSeasonInfo, removePopulationZone, removeRecruitmentZone, removeReproductionZone, setAbundanceReferenceMonth, setCapturabilityComment, setCapturabilityEquation, setCapturabilityEquationUsed, setCaractBioComment, setComment, setComputeFOnLandings, setFbarGroupMax, setFbarGroupMin, setFishingMortalityOtherFleets, setGeographicId, setGrowth, setGrowthReverse, setMappingZoneReproZoneRecru, setMaturityOgiveEquation, setMeanWeight, setMigrationComment, setMonthGapBetweenReproRecrutement, setNaturalDeathRate, setPlusGroup, setPrice, setRecruitmentComment, setRecruitmentDistribution, setRecruitmentEquation, setRecruitmentZone, setReproductionEquation, setReproductionRateEquation, setReproductionZone, setSeasonsComment, setSpecies, setZonesComment, sizePopulationGroup, sizePopulationSeasonInfo, sizePopulationZone, sizeRecruitmentZone, sizeReproductionZone, update
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTopiaContext, setTopiaContext
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
public void setPopulationGroup(List<PopulationGroup> populationGroup)
setPopulationGroup
in interface Population
setPopulationGroup
in class PopulationAbstract
public void setPopulationSeasonInfo(List<PopulationSeasonInfo> populationSeasonInfo)
setPopulationSeasonInfo
in interface Population
setPopulationSeasonInfo
in class PopulationAbstract
public void setPopulationZone(List<Zone> populationZone)
setPopulationZone
in interface Population
setPopulationZone
in class PopulationAbstract
public void delete() throws org.nuiton.topia.TopiaException
delete
in interface org.nuiton.topia.persistence.TopiaEntityContextable
delete
in class PopulationAbstract
org.nuiton.topia.TopiaException
public String toString()
toString
in class PopulationAbstract
public void setName(String value)
setName
in interface Population
setName
in class PopulationAbstract
PopulationAbstract.setName(java.lang.String)
public void setReproductionEquationContent(String content)
public void setRecruitmentEquationContent(String content)
public void setGrowthContent(String content)
public void setGrowthReverseContent(String content)
public void setNaturalDeathRateContent(String content)
public void setFishingMortalityOtherFleetsContent(String content)
public void setMeanWeightContent(String content)
public void setMaturityOgiveEquationContent(String content)
public void setReproductionRateEquationContent(String content)
public void setPriceContent(String content)
public double getNaturalDeathBirth(Zone zone)
public org.nuiton.math.matrix.MatrixND getNaturalDeathRateMatrix()
public org.nuiton.math.matrix.MatrixND getFishingMortalityOtherFleetsMatrix()
public PopulationSeasonInfo getPopulationSeasonInfo(Month month)
public double getAge(double length, PopulationGroup group)
length
- length of groupgroup
- grouppublic double getLength(double age, PopulationGroup group)
age
- age of group in monthgroup
- grouppublic void setCapturability(org.nuiton.math.matrix.MatrixND value)
setCapturability
in interface Population
setCapturability
in class PopulationAbstract
public org.nuiton.math.matrix.MatrixND getCapturability()
getCapturability
in interface Population
getCapturability
in class PopulationAbstract
public void setCapturabilityEquationContent(String content)
public org.nuiton.math.matrix.MatrixND getMappingZoneReproZoneRecru()
getMappingZoneReproZoneRecru
in interface Population
getMappingZoneReproZoneRecru
in class PopulationAbstract
public org.nuiton.math.matrix.MatrixND N2DToN1D(org.nuiton.math.matrix.MatrixND N)
split2D(MatrixND)
public org.nuiton.math.matrix.MatrixND split2D(org.nuiton.math.matrix.MatrixND N)
N2DToN1D(MatrixND)
public org.nuiton.math.matrix.MatrixND getRecruitmentMatrix(TimeStep step, Population pop, RecruitmentInputMap recruitmentInputs, org.nuiton.math.matrix.MatrixND result)
Copyright © 1999–2020 CodeLutin. All rights reserved.