|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.simulator.MetierMonitor
public class MetierMonitor
ATTENTION: l'implantation de cette classe n'est peut-etre pas correct. Il faut absolument verifier le FIXME, mais il est difficile de le faire car la plupart des methodes de cette objets ne semble plus utilisé dans la version 2.3.x de isis Created: 21 août 2006 15:43:19
| Field Summary | |
|---|---|
protected java.util.Set<Metier> |
forbiddenMetier
|
protected java.util.Set<org.apache.commons.collections.keyvalue.MultiKey> |
forbiddenMetierMonth
|
protected org.apache.commons.collections.map.MultiKeyMap |
list
key |
protected java.util.Map<Date,org.nuiton.math.matrix.MatrixND> |
noActivity
|
| Constructor Summary | |
|---|---|
MetierMonitor()
|
|
| Method Summary | |
|---|---|
void |
addforbiddenMetier(java.util.Collection<Metier> metiers)
|
void |
addforbiddenMetier(Metier metier)
Add forbidden metier, this metier is remove when clear() is called |
void |
addforbiddenMetier(Metier metier,
Month month)
Add forbidden metier, this metier is not remove when clear() is called |
void |
addLicence(Metier metier,
int nbLicences,
Month firstMonth,
Month lastMonth)
|
void |
clear()
clear all data can be used at end of each simulation step |
java.util.Set<Metier> |
getForbiddenMetier()
|
fr.ifremer.isisfish.simulator.MetierMonitor.Licence |
getLicence(Metier metier,
Month month)
|
double |
getLicenceOverflow(Metier metier,
Month month)
|
org.nuiton.math.matrix.MatrixND |
getNoActivity(Date date)
|
org.nuiton.math.matrix.MatrixND |
getOrCreateNoActivity(Date date,
java.lang.String name,
java.util.List<Strategy> strategies,
java.util.List<Metier> metiers)
|
boolean |
isForbidden(Metier metier,
Month month)
Metier is forbidden is can be found in forbiddenMetier or in
forbiddenMetierMonth. |
boolean |
isLimited(Metier metier,
Month month)
|
boolean |
isLimitedPeriode(Metier metier,
Month firstMonth,
Month lastMonth)
|
void |
removeforbiddenMetier(Metier metier,
Month month)
|
void |
setNoActivity(Date date,
org.nuiton.math.matrix.MatrixND nonActivity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set<Metier> forbiddenMetier
protected java.util.Set<org.apache.commons.collections.keyvalue.MultiKey> forbiddenMetierMonth
protected java.util.Map<Date,org.nuiton.math.matrix.MatrixND> noActivity
protected org.apache.commons.collections.map.MultiKeyMap list
| Constructor Detail |
|---|
public MetierMonitor()
| Method Detail |
|---|
public void clear()
public void addforbiddenMetier(Metier metier)
clear() is called
metier -
public void addforbiddenMetier(Metier metier,
Month month)
clear() is called
metier - month -
public void removeforbiddenMetier(Metier metier,
Month month)
public void addforbiddenMetier(java.util.Collection<Metier> metiers)
public java.util.Set<Metier> getForbiddenMetier()
public boolean isForbidden(Metier metier,
Month month)
forbiddenMetier or in
forbiddenMetierMonth.
metier - month -
true if metier forbiddenpublic org.nuiton.math.matrix.MatrixND getNoActivity(Date date)
public org.nuiton.math.matrix.MatrixND getOrCreateNoActivity(Date date,
java.lang.String name,
java.util.List<Strategy> strategies,
java.util.List<Metier> metiers)
public void setNoActivity(Date date,
org.nuiton.math.matrix.MatrixND nonActivity)
nonActivity - The nonActivity to set.
public fr.ifremer.isisfish.simulator.MetierMonitor.Licence getLicence(Metier metier,
Month month)
public void addLicence(Metier metier,
int nbLicences,
Month firstMonth,
Month lastMonth)
public boolean isLimitedPeriode(Metier metier,
Month firstMonth,
Month lastMonth)
metier - firstMonth - lastMonth -
public boolean isLimited(Metier metier,
Month month)
public double getLicenceOverflow(Metier metier,
Month month)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||