FishNutrient.java 12.23 KiB
/**
 * 
 * @author Camille Poulet, Patrick Lambert
 * @copyright Copyright (c) 2019, Irstea
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
package species;
import environment.SeaBasin;
import environment.Time.Season;
import fr.cemagref.simaqualife.pilot.Pilot;
import species.DiadromousFish.Gender;
import species.DiadromousFish.Stage;
import species.ReproduceAndSurviveAfterReproduction;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
/**
/**
 * @author camille.poulet
public class FishNutrient {
	/**
	 * Main feature for weight computation before spawning i.e. gametes expelling //Voir pour un retour  la ligne lors du commentaire 
	 * key gender
	 * value
	 * 		key feature
	 * 		value value
	private Map <Gender,Map<String, Double>> fishFeatures;
	// Si on ne possede pas wT post reproduction 
	private double aLWfemalePost = 0.; 
	private double bLWfemalePost  = 0.;
	private double GSIfemalePost=0.10;	
	private double aLWmalePost = 0.; 
	private double bLWmalePost = 0.; 
	private double GSImalePost =.07;
	// Valeurs de Haskell pour A. sapidissima -- A rechercher pour Alosa alosa
	/**
	 * chemical composition of carcass before gametes expelling (before spawning) i.e. carcass + gonads + gametes
	 * <key> gender
	 * <value> 
	 * 		<key> chemical element
	 * 		<value> value