Package fr.ifremer.isisfish.simulator
Class MetierMonitor
java.lang.Object
fr.ifremer.isisfish.simulator.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
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addforbiddenMetier
(Metier metier) Add forbidden metier, this metier is remove whenclear()
is calledvoid
addforbiddenMetier
(Metier metier, Month month) Add forbidden metier, this metier is not remove whenclear()
is calledvoid
addforbiddenMetier
(Collection<Metier> metiers) void
clear()
clear all data can be used at end of each simulation steporg.nuiton.math.matrix.MatrixND
getNoActivity
(TimeStep step) org.nuiton.math.matrix.MatrixND
boolean
isForbidden
(Metier metier, Month month) Metier is forbidden is can be found inforbiddenMetier
or inforbiddenMetierMonth
.void
removeforbiddenMetier
(Metier metier, Month month) void
setNoActivity
(TimeStep step, org.nuiton.math.matrix.MatrixND nonActivity)
-
Field Details
-
forbiddenMetier
-
forbiddenMetierMonth
-
noActivity
-
-
Constructor Details
-
MetierMonitor
public MetierMonitor()
-
-
Method Details
-
clear
public void clear()clear all data can be used at end of each simulation step -
addforbiddenMetier
Add forbidden metier, this metier is remove whenclear()
is called- Parameters:
metier
-
-
addforbiddenMetier
Add forbidden metier, this metier is not remove whenclear()
is called- Parameters:
metier
-month
-
-
removeforbiddenMetier
-
addforbiddenMetier
-
getForbiddenMetier
- Returns:
- Returns the forbiddenMetier.
-
isForbidden
Metier is forbidden is can be found inforbiddenMetier
or inforbiddenMetierMonth
.- Parameters:
metier
-month
-- Returns:
true
if metier forbidden
-
getNoActivity
- Returns:
- Returns the nonActivity.
-
getOrCreateNoActivity
-
setNoActivity
- Parameters:
nonActivity
- The nonActivity to set.
-