7 May
2009
7 May
'09
8:49 a.m.
oui mais tu peux envoyer les logs, la proposition de sigrid permet
simplement de voir si tu as les objets
chirine HUSSEIN a écrit :
> salut,
> toujours, les simulation ne tournent pas??!!
> merci
>
> ------------------------------------------------------------------------
> *De :* Sigrid LEHUTA <Sigrid.Lehuta@ifremer.fr>
> *À :* Liste pour les utilisateurs du simulateur
> <isis-fish-user@lists.labs.libre-entreprise.org>
> *Envoyé le :* Jeudi, 7 Mai 2009, 10h37mn 34s
> *Objet :* [Isis-fish-user] null pointer exception pour le target
> factor dans un plan
>
> Salut,
> essaies de rajouter des commentaires apres la ligne 528 pour voir d ou
> ca vient :
> System.out.println("metier :" +metier.getName());
> System.out.println("season : " + season +"ancien target : " +
> target.getContent());
>
> et refais tourner une simu.
>
>
>
>
> chirine HUSSEIN a écrit :
> > merci pour ta réponse,
> > oui, j'ai bien saisi le facteur de ciblage dans les métiers.
> > chirine
> >
> > ------------------------------------------------------------------------
> > *De :* Stephanie MAHEVAS <Stephanie.Mahevas@ifremer.fr
> <mailto:Stephanie.Mahevas@ifremer.fr>>
> > *À :* Liste pour les utilisateurs du simulateur
> <isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:isis-fish-user@lists.labs.libre-entreprise.org>>
> > *Envoyé le :* Jeudi, 7 Mai 2009, 10h10mn 41s
> > *Objet :* Re: [Isis-fish-user] analyse de sensibilité
> >
> > ll'error :
> > Caused by: java.lang.NullPointerException
> > at analyseplans.Sensibility.beforeSimulation(Sensibility.java:528)
> > at
> fr.ifremer.isisfish.simulator.PlanGenerator.hasNext(PlanGenerator.java:120)
> > ... 2 more
> > dans le fichier ca correspond à la commande
> > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> >
> > il ne trouve pas ton facteur de ciblage
> > es-tu sure de l'avoir bien saisi dans le metier?
> >
> > stephanie
> >
> > chirine HUSSEIN a écrit :
> > >
> > > Bonjour à tous,
> > >
> > > > Toujours pour l’analyse de sensibilité , mon plan d’analyse
> pour 9 paramètres, à priori, j’ai un problème avec un seul (facteur de
> ciblage) , dans l’interface Editeur de script, le plan d’analyse est
> correcte, mais les simulations ne tournent pas, et quand j’enlève tous
> ce qui concerne le facture de ciblage (dans le script), les
> simulations tournent bien.
> > >
> > > > Je vous envoie le script du plan d’analyse, et le fichier d’erreur.
> > >
> > > > Pourrez-vous jeter un coup d’œil.
> > >
> > > > Merci bien pour l’avance.
> > >
> > > > Chirine
> > >
> > > > >
> > >
> ------------------------------------------------------------------------
> > >
> > > INFO [main] (Resource.java:322) getClassPathURLsFromJarManifest -
> class-path jar to scan /C:/Documents and
> Settings/hussein/Bureau/isis-fish-3.1.3/isis-fish-3.1.3/lib/isis-fish-3.1.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\isis-fish-3.1.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xmlrpc-2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-lang-2.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\asm-attrs-1.5.4-snapshot.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\openmap-4.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-collections-3.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\spring-beans-2.0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\j2ssh-core-0.2.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\bsh-2.0b1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\junit-3.8.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\svnkit-1.1.2.jar
>
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ganymed-ssh2-build210.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\dom4j-1.6.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xml-apis-1.0.b2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutincommandline-ui-0.4.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-logging-1.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\log4j-1.2.12.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\logkit-1.0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\avalon-framework-4.1.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\servlet-api-2.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jaxx-1.0.4-SNAPSHOT.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinutil-0.29-SNAPSHOT.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-primitives-1.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-beanutils-1.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\javahelp-2.0.02.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutincommandline-0.4.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\spring-core-2.0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\qdox-1.4.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinmatrix-0.15.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinxml-0.7.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ant-1.5.4.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xalan-2.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\topia-2.0.25.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutingenerator-0.51-SNAPSHOT.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-digester-1.8.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ant-1.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ant-launcher-1.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jaxen-1.1.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jdom-1.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xercesImpl-2.0.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xom-1.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xmlParserAPIs-2.6.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\icu4j-2.6.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-beanutils-core-1.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-pool-1.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-dbcp-1.2.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\hibernate-3.2.5.ga-eventpatch.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ehcache-1.2.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jta-1.0.1B.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\asm-attrs-1.5.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\antlr-2.7.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\asm-1.5.4-snapshot.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xmlrpc-server-3.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xmlrpc-common-3.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ws-commons-util-1.0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xmlrpc-client-3.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-httpclient-3.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-codec-1.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xfire-java5-1.2.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xfire-aegis-1.2.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xfire-core-1.2.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\activation-1.0.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\mail-1.3.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\wsdl4j-1.6.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\stax-api-1.0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\XmlSchema-1.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\wstx-asl-3.2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\stax-utils-20040917.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xfire-annotations-1.2.6.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-attributes-api-2.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xfire-jsr181-api-1.0-M1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jetty-5.1.10.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\tapestry-core-5.0.5.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\tapestry-ioc-5.0.5.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\javassist-3.4.ga.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\topia-service-0.8.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lucene-core-2.2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\trove-1.0.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinutilextra-0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\aspectwerkz-core-2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\asm-util-1.5.4-snapshot.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jrexx-1.1.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\aspectwerkz-2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\aspectwerkz-jdk5-2.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\tools-1.6.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\swixml-1.5-144-cl-20050912.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\j2h-1.3.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\j2ssh-common-0.2.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinwidget-0.10-SNAPSHOT.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\looks-1.2.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\l2fprod-common-0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\sdoc-0.5.0-beta.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jfreechart-0.9.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jdic_stub-linux-20061102.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jcommon-0.7.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\jdic-20061102.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-math-1.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-discovery-0.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\commons-jxpath-1.2.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\xerces-1.2.3.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\ant-optional-1.5.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\lutinj2r-0.1.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\JRclient-RF503.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\JRI-0.2-4-cl.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\h2-1.0.60.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\swixat-0.6.0.jar
> > > INFO [main] (Resource.java:296) getURLs - jar to search
> C:\Documents and
> Settings\hussein\Bureau\isis-fish-3.1.3\isis-fish-3.1.3\lib\cvsclient-20051129.jar
> > > INFO [main] (Resource.java:310) getURLs - search URLs pattern:
> .*18n/.+\.properties in 107 urls in 2,162s
> > > INFO [main] (I18nBundleManager.java:97) init - 6 bundle(s) found,
> [12 file(s)] in 8,252ms
> > > INFO [main] (I18nBundleManager.java:167) load - Language <locale:
> fr_FR, encoding: ISO-8859-1,nbStences:1176>, nbEntries: 6,
> nbSentences: 1176 in 14,41ms
> > > INFO [main] (IsisFish.java:104) main - Lancement Isis-fish ... []
> > > INFO [main] (IsisFish.java:109) main - 06/05/09 16:39 Java
> version: 1.6.0_10-b33 Isis-fish version: 3.1.3
> > > INFO [main] (Config.java:105) init - [main]
> > > INFO [main] (Config.java:105) init - [vcs]
> > > INFO [main] (SVNHelper.java:191) findTypeRepo - try svn url
> svn://labs.libre-entreprise.org/svnroot/isis-fish-data/tags (3.1.3)
> > > WARN [main] (SVNHelper.java:197) findTypeRepo -
> org.codelutin.vcs.VCSException: org.tmatesoft.svn.core.SVNException:
> svn: labs.libre-entreprise.org
> > > INFO [main] (I18nLoader.java:102) close - nb languages loaded : 1
> > > INFO [main] (Language.java:183) close - Language <locale: fr_FR,
> encoding: ISO-8859-1,nbStences:1176>
> > > INFO [main] (I18nBundleManager.java:167) load - Language <locale:
> fr_FR, encoding: UTF-8,nbStences:1176>, nbEntries: 6, nbSentences:
> 1176 in 27,924ms
> > > INFO [main] (IsisFish.java:182) init - connectionState : ERROR
> > > INFO [main] (IsisFish.java:182) init - hasPreviousConfig : true
> > > INFO [main] (IsisFish.java:182) init - isTypeChanged : false
> > > INFO [main] (IsisFish.java:182) init - needMigration : false
> > > INFO [main] (MatrixFactory.java:68) <clinit> - Converter XML pour
> MatrixND ajoute
> > > INFO [main] (MatrixFactory.java:85) <clinit> - librairie topia
> non presente. Import/Export JDBC impossible
> > > INFO [main] (IsisVcsConfig.java:442) validate - [SVN]
> configuration is init.
> > > INFO [main] (IsisVcsConfig.java:443) validate - [SVN] remote :
> svnroot/isis-fish-data/trunk
> > > INFO [main] (IsisVcsConfig.java:444) validate - [SVN] local :
> C:\Documents and Settings\hussein\isis-database-3
> > > INFO [main] (IsisVcsConfig.java:445) validate - [SVN] state : ERROR
> > > INFO [main] (SVNHandler.java:138) initWorkingCopy0 -
> repositoryURL to use :
> svn://labs.libre-entreprise.org/svnroot/isis-fish-data/trunk
> > > INFO [main] (IsisFish.java:138) main - after init done in 20,65s.
> > > INFO [Simulation Thread local] (SimulationManager.java:326) run -
> Start simulation thread
> > > INFO [Simulation Thread remote] (SimulationManager.java:326) run
> - Start simulation thread
> > > INFO [main] (IsisTray.java:96) getInstance - Use System tray:
> fr.ifremer.isisfish.IsisTray$AWTSystemTray
> > > SwixML 1.5 (#144)
> > > INFO [main] (Editor.java:124) addEditor - Can't find your editor
> class: org.codelutin.widget.editor.NetBeansEditor
> > > INFO [main] (Editor.java:124) addEditor - Can't find your editor
> class: org.codelutin.widget.editor.JEditEditor
> > > INFO [AWT-EventQueue-0] (Action.java:205) updateVCSContext - can
> write false
> > > INFO [AWT-EventQueue-0] (Action.java:206) updateVCSContext - can
> commit false
> > > INFO [AWT-EventQueue-0] (Action.java:207) updateVCSContext - can
> update false
> > > INFO [AWT-EventQueue-0] (Action.java:208) updateVCSContext - can
> delete false
> > > INFO [AWT-EventQueue-0] (Action.java:209) updateVCSContext - can
> diff false
> > > INFO [Thread-4] (Action.java:116) loadScript - loadScript called
> [AnalysePlan/AnalysePlan]
> > > INFO [Thread-4] (Action.java:205) updateVCSContext - can write false
> > > INFO [Thread-4] (Action.java:206) updateVCSContext - can commit false
> > > INFO [Thread-4] (Action.java:207) updateVCSContext - can update false
> > > INFO [Thread-4] (Action.java:208) updateVCSContext - can delete false
> > > INFO [Thread-4] (Action.java:209) updateVCSContext - can diff false
> > > **** false *****0
> > > INFO [Thread-6] (Action.java:116) loadScript - loadScript called
> [AnalysePlan/Sensibility.java]
> > > INFO [Thread-6] (Action.java:205) updateVCSContext - can write false
> > > INFO [Thread-6] (Action.java:206) updateVCSContext - can commit false
> > > INFO [Thread-6] (Action.java:207) updateVCSContext - can update false
> > > INFO [Thread-6] (Action.java:208) updateVCSContext - can delete false
> > > INFO [Thread-6] (Action.java:209) updateVCSContext - can diff false
> > > Installing UI
> > > Installing HIGHLIGHT
> > > Set to 563
> > > **** false *****0
> > > Set to 521
> > > Set to 720
> > > Set to 230
> > > Set to 125
> > > Set to 68
> > > Set to 75
> > > Set to 105
> > > Set to 470
> > > Set to 471
> > > Set to 462
> > > Set to 463
> > > Set to 464
> > > Set to 480
> > > Set to 478
> > > Set to 565
> > > Set to 548
> > > Set to 547
> > > Set to 546
> > > Set to 702
> > > Set to 703
> > > Set to 483
> > > Set to 482
> > > Set to 481
> > > Set to 480
> > > Set to 481
> > > Set to 482
> > > Set to 479
> > > Set to 478
> > > Exception in thread "AWT-EventQueue-0"
> org.apache.commons.jxpath.JXPathException: Undefined function: paste
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getFunction(JXPathContextReferenceImpl.java:645)
> > > at
> org.apache.commons.jxpath.ri.axes.RootContext.getFunction(RootContext.java:118)
> > > at
> org.apache.commons.jxpath.ri.compiler.ExtensionFunction.computeValue(ExtensionFunction.java:83)
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:314)
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:280)
> > > at org.swixat.framework.XPathUtil.applyXPath(XPathUtil.java:154)
> > > at org.swixat.framework.XPathUtil.applyXPath(XPathUtil.java:112)
> > > at
> org.swixat.framework.action.XPathAction.doCommand(XPathAction.java:66)
> > > at
> org.swixat.framework.action.ActionManager.doCommand(ActionManager.java:99)
> > > at
> org.swixat.framework.AbstractFrame.executeCommand(AbstractFrame.java:148)
> > > at
> org.swixat.framework.AbstractFrame.actionPerformed(AbstractFrame.java:95)
> > > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> > > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> > > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> > > at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> > > at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
> > > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
> > > at java.awt.Component.processMouseEvent(Unknown Source)
> > > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > > at java.awt.Component.processEvent(Unknown Source)
> > > at java.awt.Container.processEvent(Unknown Source)
> > > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
> Source)
> > > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> > > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.run(Unknown Source)
> > > Exception in thread "AWT-EventQueue-0"
> org.apache.commons.jxpath.JXPathException: Undefined function: paste
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getFunction(JXPathContextReferenceImpl.java:645)
> > > at
> org.apache.commons.jxpath.ri.axes.RootContext.getFunction(RootContext.java:118)
> > > at
> org.apache.commons.jxpath.ri.compiler.ExtensionFunction.computeValue(ExtensionFunction.java:83)
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:314)
> > > at
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:280)
> > > at org.swixat.framework.XPathUtil.applyXPath(XPathUtil.java:154)
> > > at org.swixat.framework.XPathUtil.applyXPath(XPathUtil.java:112)
> > > at
> org.swixat.framework.action.XPathAction.doCommand(XPathAction.java:66)
> > > at
> org.swixat.framework.action.ActionManager.doCommand(ActionManager.java:99)
> > > at
> org.swixat.framework.AbstractFrame.executeCommand(AbstractFrame.java:148)
> > > at
> org.swixat.framework.AbstractFrame.actionPerformed(AbstractFrame.java:95)
> > > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> > > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> > > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> > > at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> > > at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
> > > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
> > > at java.awt.Component.processMouseEvent(Unknown Source)
> > > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > > at java.awt.Component.processEvent(Unknown Source)
> > > at java.awt.Container.processEvent(Unknown Source)
> > > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
> Source)
> > > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> > > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.run(Unknown Source)
> > > INFO [AWT-EventQueue-0] (Action.java:380) saveScript - saveScript
> called [Sensibility.java] org.swixat.model.GenericContext@1f4ba51
> > > INFO [Thread-11] (RegionStorage.java:207) getRegion - Try to open
> region Banyuls(C:\Documents and
> Settings\hussein\isis-database-3\regions\Banyuls)
> > > INFO [AWT-EventQueue-0] (DataStorage.java:211) getStorage -
> Create new storage for Banyuls
> > > **** false *****0
> > > matrix2D [
> > >
> -1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-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0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.
> 0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,]
> > > INFO [AWT-EventQueue-0] (SimulationHelper.java:90) message -
> backup database in progress
> > > INFO [AWT-EventQueue-0] (SimulationControl.java:126) setText -
> backup database in progress
> > > INFO [AWT-EventQueue-0] (SimulationHelper.java:90) message -
> backup database finished
> > > INFO [AWT-EventQueue-0] (SimulationControl.java:126) setText -
> backup database finished
> > > INFO [AWT-EventQueue-0] (SimulationHelper.java:90) message -
> Scripts and rules Compilation
> > > INFO [AWT-EventQueue-0] (SimulationControl.java:126) setText -
> Scripts and rules Compilation
> > > Note:
> C:\DOCUME~1\hussein\LOCALS~1\Temp\isisfish-simultation-1241621794109-preparation\scripts\SiMatrix.java
> uses unchecked or unsafe operations.
> > > Note: Recompile with -Xlint:unchecked for details.
> > > INFO [AWT-EventQueue-0] (SimulationHelper.java:90) message -
> Temps de compilation 1.021s INFO [AWT-EventQueue-0]
> (SimulationControl.java:126) setText - Temps de compilation 1.021s
> INFO [Simulation Thread local] (SimulationStorage.java:224)
> getSimulation - Try to open simulation
> 2009-05-06-16-56_0(C:\Documents and
> Settings\hussein\isis-database-3\simulations\ 2009-05-06-16-56_0)
> > > INFO [Simulation Thread local] (DataStorage.java:211) getStorage
> - Create new storage for 2009-05-06-16-56_0
> > > mod et ligne : -1 0
> > > result : 0.8
> > > mod et ligne : -1 0
> > > result : 0.8
> > > mod et ligne : -1 0
> > > result : 0.8
> > > mod et ligne : -1 0
> > > result : 0.8
> > > mod et ligne : -1 0
> > > result : 0.8
> > > mod et ligne : -1 0
> > > result : 1.55
> > > WARN [Simulation Thread local] (SimulationManager.java:439) run -
> Could not save Error during simulation of 2009-05-06-16-56 in his
> information file
> > > fr.ifremer.isisfish.IsisFishRuntimeException: Can''t evaluate plan
> script
> > > at
> fr.ifremer.isisfish.simulator.PlanGenerator.hasNext(PlanGenerator.java:133)
> > > at
> fr.ifremer.isisfish.simulator.SimulationManager$QueueItem.hasNext(SimulationManager.java:529)
> > > at
> fr.ifremer.isisfish.simulator.SimulationManager$SimulationThread.run(SimulationManager.java:355)
> > > Caused by: java.lang.NullPointerException
> > > at analyseplans.Sensibility.beforeSimulation(Sensibility.java:528)
> > > at
> fr.ifremer.isisfish.simulator.PlanGenerator.hasNext(PlanGenerator.java:120)
> > > ... 2 more
> > > INFO [Simulation Thread local] (SimulationDoneQueueModel.java:92)
> simulationWillBeRemoved - in done model for 2009-05-06-16-56 pos 0
> > > INFO [Simulation Thread local] (SimulationDoneQueueModel.java:95)
> simulationWillBeRemoved - isStopSimulationRequest : false
> > > WARN [Simulation Thread local] (SimulationManager.java:445) run -
> Error during simulation
> > > fr.ifremer.isisfish.IsisFishRuntimeException: Can''t evaluate plan
> script
> > > at
> fr.ifremer.isisfish.simulator.PlanGenerator.hasNext(PlanGenerator.java:133)
> > > at
> fr.ifremer.isisfish.simulator.SimulationManager$QueueItem.hasNext(SimulationManager.java:529)
> > > at
> fr.ifremer.isisfish.simulator.SimulationManager$SimulationThread.run(SimulationManager.java:355)
> > > Caused by: java.lang.NullPointerException
> > > at analyseplans.Sensibility.beforeSimulation(Sensibility.java:528)
> > > at
> fr.ifremer.isisfish.simulator.PlanGenerator.hasNext(PlanGenerator.java:120)
> > > ... 2 more
> > >
> ------------------------------------------------------------------------
> > >
> > > package analyseplans;
> > >
> > > import static org.codelutin.i18n.I18n._;
> > >
> > > import org.apache.commons.logging.Log;
> > > import org.apache.commons.logging.LogFactory;
> > >
> > > import scripts.ResultName;
> > >
> > > import java.io.*;
> > > import java.io.File;
> > > import java.io.FileReader;
> > > import java.io.Writer;
> > > import java.util.*;
> > > import java.util.Arrays;
> > > import java.util.Collection;
> > > import java.util.Collections;
> > > import java.util.HashMap;
> > > import java.util.List;
> > > import java.util.Map;
> > > import java.util.Properties;
> > >
> > > import org.codelutin.math.matrix.*;
> > > import org.codelutin.util.*;
> > > import org.codelutin.topia.*;
> > >
> > > import fr.ifremer.isisfish.*;
> > > import fr.ifremer.isisfish.types.*;
> > > import fr.ifremer.isisfish.rule.Rule;
> > > import fr.ifremer.isisfish.rule.RuleHelper;
> > > import fr.ifremer.isisfish.simulator.SimulationContext;
> > > import fr.ifremer.isisfish.types.Date;
> > > import fr.ifremer.isisfish.entities.*;
> > > import fr.ifremer.isisfish.simulator.AnalysePlan;
> > > import fr.ifremer.isisfish.simulator.AnalysePlanContext;
> > > import fr.ifremer.isisfish.simulator.SimulationParameter;
> > > import fr.ifremer.isisfish.datastore.RegionStorage;
> > > import fr.ifremer.isisfish.datastore.RuleStorage;
> > > import fr.ifremer.isisfish.datastore.SimulationStorage;
> > > import fr.ifremer.isisfish.datastore.ResultStorage;
> > >
> > > /**
> > > * Sensibility.java
> > > *
> > > * Created: 21 décembre 2008
> > > *
> > > * @author HUSSEIN chirine <m475chi@yahoo.fr
> <mailto:m475chi@yahoo.fr> <mailto:m475chi@yahoo.fr
> <mailto:m475chi@yahoo.fr>>>
> > > *
> > > */
> > > public class Sensibility implements AnalysePlan {
> > >
> > > /** to use log facility, just put in your code: log.info("..."); */
> > > static private Log log = LogFactory.getLog(Sensibility.class);
> > >
> > > static private final String MATRIX = "matrix"; /// Le fichier
> est donc matrix.txt
> > > static private final String VBGF = "growth";
> > > static private final String FECONDITY = "fecondity";
> > > static private final String MIGRATION = "migration";
> > > static private final String MORTALITY = "mortalite";
> > > static private final String CATCHABILITY = "capturabilite";
> > > static private final String FSTD = "facteurStd";
> > > static private final String SELECTIVITY = "selectivity";
> > > static private final String SELECTIVITYFiletMer =
> "selectivityFiletMer";
> > > static private final String SELECTIVITYFiletEtang =
> "selectivityFiletEtang";
> >
> > > static private final String SELECTIVITYLignecote =
> "selectivityLignecote";
> > > static private final String SELECTIVITYLigneemb =
> "selectivityLigneemb";
> > > static private final String SELECTIVITYChalut =
> "selectivityChalut";
> > > static private final String SELECTIVITYHarpon =
> "selectivityHarpon";
> > > static private final String TARGET = "targetFact";
> > > static private final String EFFORT = "effort";
> > > //static private final String AMP = "amp";
> > > //static private final String AMP1 = "ampRPrepro_Lignecote";
> > > //static private final String AMP2 = "ampRPrepro_FiletMer";
> ///////////* completer ici avec tous les fichiers .txt des amp
> > > public int param_parameterNumber = 9 ; /// ce paramètre
> n'est normalement pas modifié
> > > public int param_first = 0; /// on utilise ce paramètre pour
> indiquer à quelle ligne /// de la matrice on doit
> commencer à faire tourner les simulations au cas où on ait dû
> interompre le plan
> > > public int param_simulationNumber = 256;/// ce paramètre n'est
> normalement pas modifié public String param_directory =
> "C:/Documents and
> Settings/hussein/Bureau/isis-fish-3.1.3/isis-fish-3.1.3/SACSarfiles//";
> /// Il s'agit du chemin vers le dossier ///contenant les
> fichier de matrice et paramètres, par défaut le repertoire du go.bat
> /// donc dans ce cas c'est le dossier Exemple_repertory qui est
> dans le dossier contenant le go.bat
> > > /// Déclaration de la matrice d'expérience private
> MatrixND matrix = null;
> > >
> > > /// Non utilisé pour ce script mais à ne pas effacer
> > > public String [] necessaryResult = {
> > > // put here all necessary result for this rule
> > > // example: // ResultName.MATRIX_BIOMASS,
> > > // ResultName.MATRIX_NET_VALUE_OF_LANDINGS_PER_STRATEGY_MET,
> > > };
> > >
> > > public String[] getNecessaryResult() {
> > > return this.necessaryResult;
> > > }
> > >
> > >
> > > /**
> > > * Permet d'afficher a l'utilisateur une aide sur le plan.
> > > * @return L'aide ou la description du plan
> > > */
> > > public String getDescription() throws Exception {
> > > return _("réalise les expériences d'un plan complet
> pour 9 parametres à 2 modalités");
> > > }
> > > /**
> > > * Appel? au d?marrage de la simulation, cette m?thode permet
> d'initialiser
> > > * des valeurs
> > > * @param simulation La simulation pour lequel on utilise
> cette regle
> > > */
> > > public void init(AnalysePlanContext context) throws Exception {
> > > /// Création de la matrice d'expérience et chargement :
> > > File dir = new File(param_directory);
> > > File csvFile = new File(dir, MATRIX + ".txt");
> > > log.info("CSV file is : " + csvFile.getAbsolutePath());
> > > if(!csvFile.exists()) {
> > > log.warn("File doesn't exists");
> > > }
> > >
> > > matrix = MatrixFactory.getInstance().create(new
> int[]{param_simulationNumber, param_parameterNumber});
> > > matrix.importCSV(new FileReader(csvFile), new int[]{0,0});
> > > matrix.setSemantics(1, Arrays.asList(new
> String[]{VBGF,FECONDITY,MIGRATION,MORTALITY,CATCHABILITY,FSTD,SELECTIVITY,TARGET,EFFORT}));
> > > System.out.println(matrix);
> > >
> > > /// ajout des regles qui sont modifiées par le plan
> > >
> //context.getParam().addExtraRules("Cantonnement","Cantonnement","Cantonnement","Cantonnement","Cantonnement","Cantonnement");
> > > ////////////* ecrire cantonnement 11 fois s'il y a
> 11 regles cantonnement
> > > }
> > >
> > > /// Création des méthodes qui réccupère dans la matrice
> la modalité du paramètre pour l'expérience en cours ///
> Les arguments des méthodes sont le nom du fichier et le numéro de la
> simulation
> > > /// (On détermine l'expérience en cours et donc la
> ligne de la matrice en sommant le numéro de la simulation et le
> param_first)
> > > /// pour un double > private double
> getDouble(String name, int simulation) throws Exception {
> > > File dir = new File(param_directory);
> > > Properties prop = new Properties();
> > > prop.load(new BufferedReader(new FileReader(new File(dir,
> name + ".txt")))); int ligne = simulation + param_first;
> > > int mod = (int)matrix.getValue(ligne, name);
> > > System.out.println("mod et ligne : "+ mod+" "+ligne);
> > > double result = Double.parseDouble(prop.getProperty(""+mod));
> > > System.out.println("result : "+ result);
> > > return result;
> > > }
> > > /// pour une liste de doubles
> > >
> > > /**
> > > * @param name le nom de l'element a recuperer
> > > * @param simulation le numero de la simulation
> > > * @return
> > > */ private double [] getList(String name, int
> simulation) throws Exception {
> > > File dir = new File(param_directory);
> > > Properties prop = new Properties();
> > > prop.load(new BufferedReader(new FileReader(new File(dir,
> name + ".txt"))));
> > > int ligne = simulation + param_first;
> > > int mod = (int)matrix.getValue(ligne, name);
> > > double [] result =
> StringUtil.toArrayDouble(prop.getProperty(""+mod).split(";")); // ""+
> ca construit une chaine de caractere
> > > return result;
> > > }
> > > /// pour une chaine de characteres (equation)
> > > /**
> > > * @param name le nom de l'element a recuperer
> > > * @param simulation le numero de la simulation
> > > * @return
> > > */
> > > private String getString(String name,String col, int
> simulation) throws Exception {
> > > File dir = new File(param_directory);
> > > Properties prop = new Properties();
> > > prop.load(new BufferedReader(new FileReader(new File(dir,
> name + ".txt"))));
> > > int ligne = simulation + param_first;
> > > int mod = (int)matrix.getValue(ligne , col);
> > > String result = prop.getProperty(""+mod);
> > > return result;
> > > }
> > > /// pour les paramètres d'une règle de gestion
> > > /**
> > > * @param name le nom de l'element a recuperer
> > > * @param simulation le numero de la simulation
> > > * @return
> > > */ private Rule getRule(RegionStorage
> regionStorage, String name, String col, int simulation) throws Exception {
> > > File dir = new File(param_directory);
> > > Properties prop = new Properties();
> > > prop.load(new BufferedReader(new FileReader(new File(dir,
> name+".txt"))));
> > > int ligne = simulation + param_first;
> > > int mod = (int)matrix.getValue(ligne , col);
> > > String ruleName = prop.getProperty(""+mod);
> > > RuleStorage ruleStorage = RuleStorage.getRule(ruleName);
> > > Rule rule = ruleStorage.getNewRuleInstance();
> > > RuleHelper.populateRule(mod, regionStorage, rule, prop);
> return rule;
> > > }
> > > /**
> > > * Call before each simulation
> > > * @param context plan context
> > > * @param nextSimulation storage used for next simulation
> > > * @return true if we must do next simulation, false to stop plan
> > > * @throws Exception
> > > */
> > > public boolean beforeSimulation(AnalysePlanContext context,
> SimulationStorage nextSimulation) throws Exception {
> > >
> > > int simNum = context.getNumber()+ param_first;
> if(simNum < param_simulationNumber+1) { /// On vérifie qu'il reste
> des expériences à faire
> > >
> > > /// On utilise les méthodes crées pour
> récupérer les valeurs des modalités pour l'expérience en cours
> > > double [] croissance = getList (VBGF , simNum);
> > > double reproductionRate = getDouble (FECONDITY, simNum);
> > > double migration = getDouble (MIGRATION,simNum);
> > > String mortality = getString (MORTALITY,MORTALITY,
> simNum);
> > > double catchability = getDouble (CATCHABILITY, simNum);
> > > double standardisation = getDouble (FSTD, simNum);
> > > //String selectivity = getString (SELECTIVITY,
> simNum);
> > > String selectivityFiletMer = getString
> (SELECTIVITYFiletMer,SELECTIVITY, simNum);
> > > String selectivityFiletEtang = getString
> (SELECTIVITYFiletEtang,SELECTIVITY, simNum);
> > > String selectivityLignecote = getString
> (SELECTIVITYLignecote,SELECTIVITY, simNum);
> > > String selectivityLigneemb = getString
> (SELECTIVITYLigneemb,SELECTIVITY, simNum);
> > > String selectivityChalut = getString
> (SELECTIVITYChalut,SELECTIVITY, simNum);
> > > String selectivityHarpon = getString
> (SELECTIVITYHarpon,SELECTIVITY, simNum);
> > > double targetFactor = getDouble (TARGET, simNum);
> > > double effort = getDouble (EFFORT, simNum);
> > > //Rule amp1 =
> getRule(context.getParam().getRegion(), AMP1, AMP, simNum);
> > > //Rule amp2 =
> getRule(context.getParam().getRegion(), AMP2, AMP, simNum);
> > > ///////////////* à completer avec le reste
> des amp*/
> > > /// On peut
> afficher des informations dans les logs
> > >
> nextSimulation.getInformation().addInformation("Fecondites
> ("+context.getNumber()+")= " + reproductionRate);
> > >
> //nextSimulation.getInformation().addInformation("Selectivites
> ("+context.getNumber()+")= " + selectivityEquation);
> > >
> > > /// Il faut maintenant modifier la valeur
> des paramètres dans la base de données et les paramètres des règle de
> la simulation
> > > /// modif les parametres des regles
> de gestion :
> > > // on enleve la regle de la
> simulation passé (elle est stoquée sous le nom LastAMP)
> //List<Rule> paramRules = nextSimulation.getParameter().getRules();
> > >
> //paramRules.remove(context.getValue("lastAMP1"));
> > > // on nomme la regle que l'on va ajouter LastAMP (pour
> pouvoir la retrouver a la simulation suivante)
> > > //context.setValue("lastAMP1", amp1);
> > > // on ajoute la regle à la simulation
> > > // paramRules.add(amp1);
> > >
> //paramRules.remove(context.getValue("lastAMP2"));
> > > //context.setValue("lastAMP2", amp2);
> > > //paramRules.add(amp2);
> > > /////////////////* à completer avec les
> autres amp */
> > >
> /// modif les parametres dans la base de données
> > > TopiaContext tx =
> nextSimulation.getStorage().beginTransaction();
> > > /// On récupère les objets ISIS a modifier dans la base
> de données
> > > PopulationDAO popDAO =
> IsisFishDAOHelper.getPopulationDAO(tx);
> Population pop = popDAO.findByName("CSar");
> > > List<PopulationGroup> groups = pop.getPopulationGroup();
> > > GearDAO gearDAO = IsisFishDAOHelper.getGearDAO(tx);
> > > List<Gear> gears = gearDAO.findAll();
> > >
> > > >
> > >
> > > ///modif fecondité et
> borne des classes de taille
> > > /// On remplace les bornes
> par les éléments de la liste
> > >
> > > for (PopulationGroup group : groups) {
> > >
> group.setReproductionRate(group.getReproductionRate() * reproductionRate);
> > >
> group.setMinLength(croissance[group.getId()]) ;
> > > group.setMaxLength(croissance[group.getId()+1]) ;
> > > }
> > > // modif du coeff de migration de
> reproduction
> > >
> > > List<PopulationSeasonInfo> saison =
> pop.getPopulationSeasonInfo();
> > > for(PopulationSeasonInfo sea : saison){
> > MatrixND mig =
> sea.getMigrationMatrix();
> > > for (MatrixIterator i = mig.iterator();
> i.hasNext();){
> > > i.next();
> > > Object [] sem = i.getSemanticsCoordinates();
> > > PopulationGroup group = (PopulationGroup)sem[0];
> > > Zone Zdep = (Zone)sem[1];
> > > Zone Zarr = (Zone)sem[2];
> > > > double multi = 0;
> > > if (migration == 0.8) {multi = 1 ;
> > > }else if(migration == 1.2){multi = -1 ; >
> } >
> > > if (sea.getFirstMonth().equals(Month.APRIL)){ >
> if (group.getId() > 3){
> > > > if (Zdep.getName().equals("Spresence")){
> > > > if
> (Zarr.getName().equals("RreproMreserve")){
> > > i.setValue(i.getValue()*migration);
> > >
> > > }else if
> (Zarr.getName().equals("Srepro")){ >
> double v = i.getValue()+ multi*0.0051614 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > >
> } }
> > > > > if
> (Zdep.getName().equals("RpresenceMreserve")){
> > > > if
> (Zarr.getName().equals("Srepro")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("RreproMreserve")){ >
> double v = i.getValue()+ multi*0.02105263 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > >
> } else if (Zarr.getName().equals("RPrepro")) {
> > double v =
> i.getValue()+ multi*0.02105263;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > }
> > > }
> > > }
> > > > if (Zdep.getName().equals("RI")){
> > > > if
> (Zarr.getName().equals("RPrepro")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("RreproMreserve")){ >
> double v = i.getValue()+ multi*0.1 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > >
> }
> > > }
> > > > if
> (Zdep.getName().equals("RPjeunes")){
> > > > if
> (Zarr.getName().equals("RPrepro")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("RreproMreserve")){ >
> double v = i.getValue()+ multi*0.06 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > >
> }
> > > }
> > > }
> > > // modif du coeff de migration de
> retour vers les zones de presence en mai
> > > if (sea.getFirstMonth().equals(Month.MAY)){
> > > if (group.getId() > 3){
> > > if (Zdep.getName().equals("Srepro")){
> > > > if
> (Zarr.getName().equals("Spresence")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("RpresenceMreserve")){ >
> double v = i.getValue()+ multi*0.14 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } }
> > > }
> > > > if
> (Zdep.getName().equals("RreproMreserve")){
> > > > if
> (Zarr.getName().equals("RpresenceMreserve")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("Spresence")){ >
> double v = i.getValue()+ multi*0.15384614 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > }
> > > }
> > > > if (Zdep.getName().equals("RPrepro")){
> > > > if
> (Zarr.getName().equals("RpresenceMreserve")){
> > > i.setValue(i.getValue()*migration);
> > > > }else if
> (Zarr.getName().equals("RI")) { >
> double v = i.getValue()+ multi*0.02222 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } >
> }else if (Zarr.getName().equals("RP")) { >
> double v = i.getValue()+ multi*0.02222 ;
> > > if (v > 0){
> > > i.setValue(v);
> > > }else {
> > > i.setValue(0);
> > > } > }
> > > }
> > > }
> > > }
> > > > >
> > > // modif du coeff de migration de Novembre-Fevrier
> > > if (sea.getFirstMonth().equals(Month.NOVEMBER)){
> > > if (group.getId() > 2){
> > > if (Zdep.getName().equals("Spresence")){
> > > > if
> (Zarr.getName().equals("RpresenceMreserve")){
> > > i.setValue(i.getValue()*migration );
> > > > }
> > > }
> > > }
> > > > } > // modif du coeff de
> migration SLagune
> > > > if (sea.getFirstMonth().equals(Month.SEPTEMBER)){
> > > if (group.getId() == 1){ > if
> (Zdep.getName().equals("SLagune")){
> > > > if
> (Zarr.getName().equals("Sjeunes")){
> > > i.setValue(i.getValue()*migration +
> multi*0.14);
> > > > }
> > > }
> > > }
> > > }
> > > }
> > > }
> > > }
> > >
> > >
> > > // modif la mortalité naturelle
> > > /// On modifie la valeur de
> la base en la remplacant par la valeur contenue dans la modalité
> > > for (PopulationGroup group : groups) {
> > > Equation eq = pop.getNaturalDeathRate();
> > > eq.setContent(mortality);
> > > }
> // modif la
> capturabilité
> > > /// On modifie la valeur de
> la base en la multipliant par la valeur contenue dans la modalité
> > > MatrixND c = pop.getCapturability();
> > > for (MatrixIterator i = c.iterator(); i.hasNext();){
> > > i.next();
> > > i.setValue(i.getValue()* catchability);
> } ///
> modif selectivité et facteur de standardisation
> > > for (Gear gear
> : gears) {
> > >
> > > if ("FiletMer".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop);
> > > Equation eq = sel.getEquation();
> eq.setContent(selectivityFiletMer);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > } else if ("FiletEtang".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop);
> > > Equation eq = sel.getEquation();
> eq.setContent(selectivityFiletEtang);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > }else if ("Lignecote".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop);
> > > Equation eq = sel.getEquation();
> eq.setContent(selectivityLignecote);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > }else if ("Ligneemb".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop);
> > > Equation eq = sel.getEquation();
> eq.setContent(selectivityLigneemb);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > }else if ("Chalut".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop);
> > > Equation eq = sel.getEquation();
> eq.setContent(selectivityChalut);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > }else if ("Harpon".equals(gear.getName())) {
> > > Selectivity sel =
> gear.getPopulationSelectivity(pop); Equation eq =
> sel.getEquation();
> eq.setContent(selectivityHarpon);
> > >
> gear.setStandardisationFactor(gear.getStandardisationFactor()*standardisation);
> > > } }
> > > > // modif le coeff de
> ciblage
> > > MetierDAO metierDAO = IsisFishDAOHelper.getMetierDAO(tx);
> > > List<Metier> metiers = metierDAO.findAll();
> > > for(Metier metier : metiers){
> > > if ( !"Chalut".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"HameconembReserve".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2); > } > }else if (
> !"FiletMer".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"Etang".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"HameconcoteReserve".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"Harpon".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"Hameconemb".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"FiletReserve".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > }else if ( !"Hameconcote".equals(metier.getName())){
> > > //log.info("metier = " + metier.getName());
> > > List<MetierSeasonInfo> seasons =
> metier.getMetierSeasonInfo();
> > > for(MetierSeasonInfo season : seasons){
> > > Equation target =
> season.getSpeciesTargetSpecies(pop.getSpecies()).getTargetFactorEquation();
> > > //log.info("ancien target : " + target.getContent());
> > String [] eqt = target.getContent().split("return ");
> > >
> > > //log.info("eqt0 : " + eqt[0]);
> > > //log.info("eqt1 : " + eqt[1]);
> > > String [] coeff = new String [] {"double mult=" + targetFactor +
> "; return "};
> > > String coef = (String) coeff[0];
> > > //log.info("coef" + coef);
> > > String [] coeff2 = new String [] {coef + eqt[1] } ;
> > > String coef2 = (String) coeff2[0] ;
> > > //log.info("coef2" + coef2);
> > > target.setContent(coef2);
> > > }
> > > } } >
> // modif le nb de jours d
> inactivité
> > > //log.info("INACTIVITY");
> > >
> > > StrategyDAO strategyDAO =
> IsisFishDAOHelper.getStrategyDAO(tx) ;
> > > List<Strategy> strategies = strategyDAO.findAll();
> > > for (Strategy strategy : strategies) {
> > > List <StrategyMonthInfo> monthInfos =
> strategy.getStrategyMonthInfo();
> > > for (StrategyMonthInfo month : monthInfos) {
> > > double days = month.getMinInactivityDays()*effort;
> > > int Days = (int) days ; //log.info("nb j inact = "
> + Days) ;
> > > month.setMinInactivityDays(Days);
> > > } }
> > >
> tx.commitTransaction();
> > > return true;
> > >
> > > }else {
> > > return false;
> > > }
> > > }
> > >
> > >
> > > /**
> > > * Call before each simulation
> > > * @param context plan context
> > > * @param nextSimulation storage used for next simulation
> > > * @return true if we must do next simulation, false to stop plan
> > > * @throws Exception
> > > */
> > > public boolean afterSimulation(AnalysePlanContext
> context, SimulationStorage lastSimulation) throws Exception {
> > > return true;
> > > }
> > >
> > > }
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Isis-fish-user mailing list
> > > Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>>
> > > http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-user
> >
> > --
> ......................................................................
> > Stephanie MAHEVAS (Stephanie.Mahevas@ifremer.fr
> <mailto:Stephanie.Mahevas@ifremer.fr>
> <mailto:Stephanie.Mahevas@ifremer.fr
> <mailto:Stephanie.Mahevas@ifremer.fr>>)
> > IFREMER/EMH (Ecologie et Modèles pour l'Halieutique) Tel: 02 40 37
> 41 81 Fax: 02 40 37 40 75 o \ o / _ o __| \ / |__
> o _ \ o / o
> > /|\ | /\ ___\o \o | o/ o/__ /\ | /|\
> > / \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \
> > ......................................................................
> > _______________________________________________
> > Isis-fish-user mailing list
> > Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>>
> > http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-user
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Isis-fish-user mailing list
> > Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>
> > http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-user
>
> -- Sigrid LEHUTA
> ~ ><> ~
> Doctorante
> Département Ecologie et Modèles pour l'Halieutique
> IFREMER, rue de l'ile d'Yeu BP 21105 44311 Nantes Cedex 03
> Tél : +33 (0)2 40 37 41 65
>
>
> _______________________________________________
> Isis-fish-user mailing list
> Isis-fish-user@lists.labs.libre-entreprise.org
> <mailto:Isis-fish-user@lists.labs.libre-entreprise.org>
> http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-user
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Isis-fish-user mailing list
> Isis-fish-user@lists.labs.libre-entreprise.org
> http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-user
--
......................................................................
Stephanie MAHEVAS (Stephanie.Mahevas@ifremer.fr)
IFREMER/EMH (Ecologie et Modèles pour l'Halieutique)
Tel: 02 40 37 41 81 Fax: 02 40 37 40 75
o \ o / _ o __| \ / |__ o _ \ o / o
/|\ | /\ ___\o \o | o/ o/__ /\ | /|\
/ \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \
......................................................................