public class StrategyImpl extends StrategyAbstract
comment, inactivityEquation, inactivityEquationUsed, name, proportionSetOfVessels, setOfVessels, strategyMonthInfo
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
PROPERTY_COMMENT, PROPERTY_INACTIVITY_EQUATION, PROPERTY_INACTIVITY_EQUATION_USED, PROPERTY_NAME, PROPERTY_PROPORTION_SET_OF_VESSELS, PROPERTY_SET_OF_VESSELS, PROPERTY_STRATEGY_MONTH_INFO
Constructor and Description |
---|
StrategyImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
computeNumberOfTrips() |
FisheryRegion |
getFisheryRegion() |
double |
getInactivityDays(Month month)
Compute or return inactivity days.
|
org.nuiton.math.matrix.MatrixND |
getProportionMetier()
Return a single matrix with all sub strategymonthinfo's proportionMetier
to be displayed in a single matrix in UI.
|
List<StrategyMonthInfo> |
getStrategyMonthInfo() |
StrategyMonthInfo |
getStrategyMonthInfo(Month month) |
void |
setInactivityEquation(Equation inactivityEquation)
Set inactivityEquation.
|
void |
setInactivityEquationContent(String content)
Set inactivityEquation content.
|
void |
setInactivityEquationUsed(boolean inactivityEquationUsed)
Set inactivityEquationUsed and launch numberOfTrips computation.
|
void |
setName(String value)
Override to change name of equation.
|
void |
setProportionMetier(org.nuiton.math.matrix.MatrixND strategyProportionMetier) |
String |
toString() |
accept, accept0, addAllStrategyMonthInfo, addStrategyMonthInfo, clearStrategyMonthInfo, delete, getAggregate, getComment, getComposite, getInactivityEquation, getInactivityEquationUsed, getName, getProportionSetOfVessels, getSetOfVessels, getStrategyMonthInfoByTopiaId, isInactivityEquationUsed, isStrategyMonthInfoEmpty, removeStrategyMonthInfo, setComment, setProportionSetOfVessels, setSetOfVessels, setStrategyMonthInfo, sizeStrategyMonthInfo, 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 FisheryRegion getFisheryRegion()
public void setName(String value)
setName
in interface Strategy
setName
in class StrategyAbstract
StrategyAbstract.setName(java.lang.String)
public void setInactivityEquation(Equation inactivityEquation)
setInactivityEquation
in interface Strategy
setInactivityEquation
in class StrategyAbstract
inactivityEquation
- setInactivityEquationUsed(boolean)
public List<StrategyMonthInfo> getStrategyMonthInfo()
getStrategyMonthInfo
in interface Strategy
getStrategyMonthInfo
in class StrategyAbstract
public StrategyMonthInfo getStrategyMonthInfo(Month month)
public double getInactivityDays(Month month)
month
- monthpublic void setInactivityEquationUsed(boolean inactivityEquationUsed)
setInactivityEquationUsed
in interface Strategy
setInactivityEquationUsed
in class StrategyAbstract
inactivityEquationUsed
- wether to use inactivityEquation or notcomputeNumberOfTrips()
protected void computeNumberOfTrips()
public void setInactivityEquationContent(String content)
content
- inactivityEquation contentsetInactivityEquationUsed(boolean)
public org.nuiton.math.matrix.MatrixND getProportionMetier()
public void setProportionMetier(org.nuiton.math.matrix.MatrixND strategyProportionMetier)
public String toString()
toString
in class StrategyAbstract
Copyright © 1999–2020 CodeLutin. All rights reserved.