diff --git a/Doc/allclasses-index.html b/Doc/allclasses-index.html index faef165..7015e39 100644 --- a/Doc/allclasses-index.html +++ b/Doc/allclasses-index.html @@ -1,11 +1,11 @@ - + All Classes and Interfaces - + @@ -58,78 +58,118 @@ loadScripts(document, 'script');
Description
Application
 
-
Completion
+
Circle
+
Element Cercle SVG.
+
+
Completion
+
Permet de faire de la complétion de données.
+
Coordonnees
+
+
Classe qui permet de stocker les coordonnées utilisées pour le positionnement sur le fichier SVG.
+
DataParsing
Interface définissant la fonction de Parsing des données
-
InputFactory
+
Element
+
Classe abstraite qui permet de définir des éléments SVG.
+
+
ElementsFactory
+
+
Contient divers éléments utiles pour les fichiers SVG.
+
+
IncorrectAxesPointsException
+
+
Exception déclenchée lorsque le format des Axes est incorrect par rapport à ce que la fonction attend.
+
+
InputFactory
+
Permet de manipuler les fichiers CSV, de les lire et d'en créer des objets RawData pour ces données brutes.
-
InputFileException
-
+
InputFileException
+
Est déclenché si une erreur est survenue lors de la lecture d'un fichier.
-
InvalidParsingException
-
+ +
Gère une exception lorsque qu'un type de parsing n'existe pas ou bien qu'une erreur est survenue durant le parsing d'une donnée.
- -
 
- +
+
Permet de construire une droite/ligne en SVG.
+
+ +
Hérite de Poisson.
- -
+ +
Classe MackerelSerra créer pour le fichier test2.csv cette classe existe principalement pour l'évaluation
- -
+ +
Hérite de Poisson.
- -
+ +
Class Définissant les méthodes statics de Nettoyage des données
- -
+ +
Permet d'illustrer une partie d'un poisson.
- -
+ +
Classe générique pour un individu Poisson.
- -
+ +
Permet de gérer une population selon les années.
- -
+ +
Classe qui permet de gérer un intervalle de données issues d'un CSV.
- -
+ +
Permet de stocker les paramètres d'une population pour une année spécifique.
- -
+ +
Permet de parser une population spécifique via les schémas fournis.
- -
+ +
Permet de stocker les données brutes d'un fichier chargé CSV, avant d'être changé en Classe plus spécifique.
- -
+ +
Est déclenché lors du dépassement d'index lors de la récupération d'une entrée d'un RawData.
+ +
+
Classe qui permet de construire les éléments présents sur le SVG.
+
+ +
 
+ +
+
Classe qui permet de convertir des doubles en dimension SVG.
+
+ +
+
Élement qui permet de générer un texte sur le SVG.
+
+ +
+
Représente un tuple de Valeurs X/Y pour nos données.
+
diff --git a/Doc/allpackages-index.html b/Doc/allpackages-index.html index bdb59d7..af39f23 100644 --- a/Doc/allpackages-index.html +++ b/Doc/allpackages-index.html @@ -1,11 +1,11 @@ - + All Packages - + @@ -66,6 +66,12 @@ loadScripts(document, 'script');
 
 
+ +
 
+ +
 
+ +
 
diff --git a/Doc/constant-values.html b/Doc/constant-values.html index 3d63675..1a07790 100644 --- a/Doc/constant-values.html +++ b/Doc/constant-values.html @@ -1,11 +1,11 @@ - + Constant Field Values - + @@ -52,6 +52,7 @@ loadScripts(document, 'script');
  • Constant Field Values
    1. ecoparasite.input.*
    2. +
    3. ecoparasite.svg.*
  • @@ -82,6 +83,40 @@ loadScripts(document, 'script'); +
    +

    ecoparasite.svg.*

    + +
    diff --git a/Doc/ecoparasite/Application.html b/Doc/ecoparasite/Application.html index c169bd3..61a8a64 100644 --- a/Doc/ecoparasite/Application.html +++ b/Doc/ecoparasite/Application.html @@ -1,11 +1,11 @@ - + Application - + @@ -63,6 +63,12 @@ loadScripts(document, 'script');
  • Method Details
      +
    1. validFileName(File, HashSet)
    2. +
    3. validFile()
    4. +
    5. MackerelFile(String)
    6. +
    7. MerluFile(String)
    8. +
    9. PopPeru(String)
    10. +
    11. test2Render(String)
    12. main(String[])
  • @@ -110,7 +116,26 @@ loadScripts(document, 'script');
    Method
    Description
    static void
    -
    main(String[] args)
    + +
     
    +
    static void
    +
    main(String[] args)
    +
     
    +
    static void
    + +
     
    +
    static void
    + +
     
    +
    static void
    + +
     
    +
    static String
    + +
     
    +
    static void
    +
    validFileName(File dir, + HashSet<String> listeName)
     
    @@ -146,6 +171,83 @@ loadScripts(document, 'script');

    Method Details

    @@ -296,6 +304,28 @@ Exemple d'utilisation : T = Poisson, V = Double, getValue = Poisson::getInfestat
    +
  • +
    +

    getLinearCoef

    +
    +
    public static <T, V extends Number> double[] getLinearCoef(HashSet<T> list, + Function<T,V> getX, + Function<T,V> getY)
    +
    Permet de retourner les coefficients de la regression linéaire.
    +
    +
    Type Parameters:
    +
    T - Le type de données cobaye.
    +
    V - Le type de valeurs de retour numérique.
    +
    Parameters:
    +
    list - La liste de données de type T.
    +
    getX - Le Getter des valeurs X.
    +
    getY - Le Getter des valeurs Y.
    +
    Returns:
    +
    Les coefficients a et b, [0] = a, [1] = b
    +
    +
    +
    +
  • diff --git a/Doc/ecoparasite/completion/package-summary.html b/Doc/ecoparasite/completion/package-summary.html index eb65c2e..1204bef 100644 --- a/Doc/ecoparasite/completion/package-summary.html +++ b/Doc/ecoparasite/completion/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite.completion - + @@ -75,14 +75,6 @@ loadScripts(document, 'script');
    Description
    ecoparasite
     
    -
    ecoparasite.input
    -
     
    -
    ecoparasite.nettoyage
    -
     
    -
    ecoparasite.poisson
    -
     
    -
    ecoparasite.population
    -
     
    diff --git a/Doc/ecoparasite/completion/package-tree.html b/Doc/ecoparasite/completion/package-tree.html index 4a5f8f7..82eedbc 100644 --- a/Doc/ecoparasite/completion/package-tree.html +++ b/Doc/ecoparasite/completion/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite.completion Class Hierarchy - + diff --git a/Doc/ecoparasite/input/DataParsing.html b/Doc/ecoparasite/input/DataParsing.html index 99515c8..ab16821 100644 --- a/Doc/ecoparasite/input/DataParsing.html +++ b/Doc/ecoparasite/input/DataParsing.html @@ -1,11 +1,11 @@ - + DataParsing - + diff --git a/Doc/ecoparasite/input/InputFactory.html b/Doc/ecoparasite/input/InputFactory.html index 8c3c740..78f91cf 100644 --- a/Doc/ecoparasite/input/InputFactory.html +++ b/Doc/ecoparasite/input/InputFactory.html @@ -1,11 +1,11 @@ - + InputFactory - + diff --git a/Doc/ecoparasite/input/InputFileException.html b/Doc/ecoparasite/input/InputFileException.html index 2f98925..1f52e7d 100644 --- a/Doc/ecoparasite/input/InputFileException.html +++ b/Doc/ecoparasite/input/InputFileException.html @@ -1,11 +1,11 @@ - + InputFileException - + diff --git a/Doc/ecoparasite/input/InvalidParsingException.html b/Doc/ecoparasite/input/InvalidParsingException.html index a7bb024..7496de6 100644 --- a/Doc/ecoparasite/input/InvalidParsingException.html +++ b/Doc/ecoparasite/input/InvalidParsingException.html @@ -1,11 +1,11 @@ - + InvalidParsingException - + diff --git a/Doc/ecoparasite/input/RawData.html b/Doc/ecoparasite/input/RawData.html index 9ba8ffb..cd9d0eb 100644 --- a/Doc/ecoparasite/input/RawData.html +++ b/Doc/ecoparasite/input/RawData.html @@ -1,11 +1,11 @@ - + RawData - + diff --git a/Doc/ecoparasite/input/RawDataOverflow.html b/Doc/ecoparasite/input/RawDataOverflow.html index 2800ae4..fee9442 100644 --- a/Doc/ecoparasite/input/RawDataOverflow.html +++ b/Doc/ecoparasite/input/RawDataOverflow.html @@ -1,11 +1,11 @@ - + RawDataOverflow - + diff --git a/Doc/ecoparasite/input/package-summary.html b/Doc/ecoparasite/input/package-summary.html index e13c909..b64323d 100644 --- a/Doc/ecoparasite/input/package-summary.html +++ b/Doc/ecoparasite/input/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite.input - + @@ -75,14 +75,6 @@ loadScripts(document, 'script');
    Description
    ecoparasite
     
    -
    ecoparasite.completion
    -
     
    -
    ecoparasite.nettoyage
    -
     
    -
    ecoparasite.poisson
    -
     
    -
    ecoparasite.population
    -
     
    diff --git a/Doc/ecoparasite/input/package-tree.html b/Doc/ecoparasite/input/package-tree.html index b5d8cdf..a7ea8ed 100644 --- a/Doc/ecoparasite/input/package-tree.html +++ b/Doc/ecoparasite/input/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite.input Class Hierarchy - + diff --git a/Doc/ecoparasite/nettoyage/Nettoyage.html b/Doc/ecoparasite/nettoyage/Nettoyage.html index b1d64e0..0dad4aa 100644 --- a/Doc/ecoparasite/nettoyage/Nettoyage.html +++ b/Doc/ecoparasite/nettoyage/Nettoyage.html @@ -1,11 +1,11 @@ - + Nettoyage - + @@ -63,10 +63,8 @@ loadScripts(document, 'script');
  • Method Details
      -
    1. nettoieColumnsMoyenne(HashSet, Function, BiConsumer, boolean)
    2. -
    3. nettoieColumnsMoyenne(HashSet, Function, BiConsumer)
    4. -
    5. nettoieColumnsLinear(HashSet, Function, Function, BiConsumer, boolean)
    6. -
    7. nettoieColumnsLinear(HashSet, Function, Function, BiConsumer)
    8. +
    9. nettoieColumns(HashSet, Function, BiConsumer, boolean)
    10. +
    11. nettoieColumns(HashSet, Function, BiConsumer)
  • @@ -114,36 +112,19 @@ loadScripts(document, 'script');
    Method
    Description
    static <T, V extends Number>
    HashSet<T>
    -
    nettoieColumnsLinear(HashSet<T> list, - Function<T,V> getX, - Function<T,V> getY, - BiConsumer<T,V> setY)
    -
    -
    Polymorphisme de la fonction nettoyage de colonne linéaire avec par défaut, l'autorisation des valeurs négatives.
    -
    -
    static <T, V extends Number>
    HashSet<T>
    -
    nettoieColumnsLinear(HashSet<T> list, - Function<T,V> getX, - Function<T,V> getY, - BiConsumer<T,V> setY, - boolean allowNegative)
    -
    -
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet à l'aide d'une regression linéaire, corrélation entre deux valeurs.
    -
    -
    static <T, V extends Number>
    HashSet<T>
    -
    nettoieColumnsMoyenne(HashSet<T> list, +
    nettoieColumns(HashSet<T> list, Function<T,V> getValue, BiConsumer<T,V> setValue)
    Polymorphisme de la fonction précédente.
    static <T, V extends Number>
    HashSet<T>
    -
    nettoieColumnsMoyenne(HashSet<T> list, +
    nettoieColumns(HashSet<T> list, Function<T,V> getValue, BiConsumer<T,V> setValue, boolean allowNegative)
    -
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet par la moyenne des autres valeurs (non nulles).
    +
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet par null.
    @@ -179,19 +160,19 @@ loadScripts(document, 'script');

    Method Details

    diff --git a/Doc/ecoparasite/nettoyage/package-summary.html b/Doc/ecoparasite/nettoyage/package-summary.html index 418bde6..4193435 100644 --- a/Doc/ecoparasite/nettoyage/package-summary.html +++ b/Doc/ecoparasite/nettoyage/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite.nettoyage - + @@ -75,14 +75,6 @@ loadScripts(document, 'script');
    Description
     
    - -
     
    - -
     
    - -
     
    - -
     
    diff --git a/Doc/ecoparasite/nettoyage/package-tree.html b/Doc/ecoparasite/nettoyage/package-tree.html index 76da065..9dc0267 100644 --- a/Doc/ecoparasite/nettoyage/package-tree.html +++ b/Doc/ecoparasite/nettoyage/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite.nettoyage Class Hierarchy - + diff --git a/Doc/ecoparasite/package-summary.html b/Doc/ecoparasite/package-summary.html index 4eb1628..34c9754 100644 --- a/Doc/ecoparasite/package-summary.html +++ b/Doc/ecoparasite/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite - + @@ -83,6 +83,10 @@ loadScripts(document, 'script');
     
     
    + +
     
    + +
     
    @@ -94,8 +98,6 @@ loadScripts(document, 'script');
    Description
     
    - -
     
    diff --git a/Doc/ecoparasite/package-tree.html b/Doc/ecoparasite/package-tree.html index 16ad8bc..a41e7a3 100644 --- a/Doc/ecoparasite/package-tree.html +++ b/Doc/ecoparasite/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite Class Hierarchy - + @@ -63,7 +63,6 @@ loadScripts(document, 'script');
  • java.lang.Object
  • diff --git a/Doc/ecoparasite/poisson/Mackerel.html b/Doc/ecoparasite/poisson/Mackerel.html index 45b2c26..1727da0 100644 --- a/Doc/ecoparasite/poisson/Mackerel.html +++ b/Doc/ecoparasite/poisson/Mackerel.html @@ -1,11 +1,11 @@ - + Mackerel - + @@ -149,7 +149,7 @@ Ajoute les fonctions de Parsing liés aux données collectées sur le Mackerel.< +getFishParts, getId, getInfestation, getLength, getWeight, setFishParts, setInfestation, setLength, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    diff --git a/Doc/ecoparasite/poisson/MackerelSerra.html b/Doc/ecoparasite/poisson/MackerelSerra.html index 709508e..44ec1b2 100644 --- a/Doc/ecoparasite/poisson/MackerelSerra.html +++ b/Doc/ecoparasite/poisson/MackerelSerra.html @@ -1,11 +1,11 @@ - + MackerelSerra - + @@ -149,7 +149,7 @@ cette classe existe principalement pour l'évaluation +getFishParts, getId, getInfestation, getLength, getWeight, setFishParts, setInfestation, setLength, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    diff --git a/Doc/ecoparasite/poisson/Merlu.html b/Doc/ecoparasite/poisson/Merlu.html index eb83046..05cac97 100644 --- a/Doc/ecoparasite/poisson/Merlu.html +++ b/Doc/ecoparasite/poisson/Merlu.html @@ -1,11 +1,11 @@ - + Merlu - + @@ -149,7 +149,7 @@ Ajoute les fonctions de Parsing liés aux données collectées sur le Merlu. +getFishParts, getId, getInfestation, getLength, getWeight, setFishParts, setInfestation, setLength, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    diff --git a/Doc/ecoparasite/poisson/PartiePoisson.html b/Doc/ecoparasite/poisson/PartiePoisson.html index a2bc1f3..7c9a86d 100644 --- a/Doc/ecoparasite/poisson/PartiePoisson.html +++ b/Doc/ecoparasite/poisson/PartiePoisson.html @@ -1,11 +1,11 @@ - + PartiePoisson - + diff --git a/Doc/ecoparasite/poisson/Poisson.html b/Doc/ecoparasite/poisson/Poisson.html index ff5af1a..1079c80 100644 --- a/Doc/ecoparasite/poisson/Poisson.html +++ b/Doc/ecoparasite/poisson/Poisson.html @@ -1,11 +1,11 @@ - + Poisson - + @@ -75,6 +75,7 @@ loadScripts(document, 'script');
  • getInfestation()
  • getFishParts()
  • setInfestation(Double)
  • +
  • setLength(Double)
  • setFishParts(HashSet)
  • toString()
  • @@ -183,9 +184,14 @@ Des types hérités plus précis, notamment pour le parsing sont disponibles dan
    Setter de l'attribut infestation
    - - +
    void
    +
    setLength(Double length)
    +
    Setter de l'attribut length
    +
    + + +
    Permet d'afficher les informations de notre poisson
    @@ -327,6 +333,19 @@ Des types hérités plus précis, notamment pour le parsing sont disponibles dan
  • +
    +

    setLength

    +
    +
    public void setLength(Double length)
    +
    Setter de l'attribut length
    +
    +
    Parameters:
    +
    length - le Double de la nouvelle valeur de la length
    +
    +
    +
    +
  • +
  • setFishParts

    diff --git a/Doc/ecoparasite/poisson/package-summary.html b/Doc/ecoparasite/poisson/package-summary.html index 1d8e6d8..31d49ce 100644 --- a/Doc/ecoparasite/poisson/package-summary.html +++ b/Doc/ecoparasite/poisson/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite.poisson - + @@ -75,14 +75,6 @@ loadScripts(document, 'script');
    Description
     
    - -
     
    - -
     
    - -
     
    - -
     
  • diff --git a/Doc/ecoparasite/poisson/package-tree.html b/Doc/ecoparasite/poisson/package-tree.html index 2cc58f0..4a3fe51 100644 --- a/Doc/ecoparasite/poisson/package-tree.html +++ b/Doc/ecoparasite/poisson/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite.poisson Class Hierarchy - + diff --git a/Doc/ecoparasite/population/Population.html b/Doc/ecoparasite/population/Population.html index ddcd258..0e116fb 100644 --- a/Doc/ecoparasite/population/Population.html +++ b/Doc/ecoparasite/population/Population.html @@ -1,11 +1,11 @@ - + Population - + diff --git a/Doc/ecoparasite/population/PopulationArgInterval.html b/Doc/ecoparasite/population/PopulationArgInterval.html index aa841fe..67493a3 100644 --- a/Doc/ecoparasite/population/PopulationArgInterval.html +++ b/Doc/ecoparasite/population/PopulationArgInterval.html @@ -1,11 +1,11 @@ - + PopulationArgInterval - + diff --git a/Doc/ecoparasite/population/PopulationArgs.html b/Doc/ecoparasite/population/PopulationArgs.html index 187b9f0..4c2c91c 100644 --- a/Doc/ecoparasite/population/PopulationArgs.html +++ b/Doc/ecoparasite/population/PopulationArgs.html @@ -1,11 +1,11 @@ - + PopulationArgs - + @@ -211,7 +211,9 @@ Par convention, si on est sur le total, on mettra comme année 0.
     
    -
     
    +
    +
    Avoir sous forme de string les données de nos arguments de population.
    +
    @@ -457,9 +459,11 @@ Initialise l'objet avec une année par défaut (0).

    toString

    public String toString()
    +
    Avoir sous forme de string les données de nos arguments de population.
    Overrides:
    toString in class Object
    +
    Returns:
    diff --git a/Doc/ecoparasite/population/PopulationParsing.html b/Doc/ecoparasite/population/PopulationParsing.html index 8eb21e9..fd530c5 100644 --- a/Doc/ecoparasite/population/PopulationParsing.html +++ b/Doc/ecoparasite/population/PopulationParsing.html @@ -1,11 +1,11 @@ - + PopulationParsing - + diff --git a/Doc/ecoparasite/population/package-summary.html b/Doc/ecoparasite/population/package-summary.html index 5c47d37..d96cbce 100644 --- a/Doc/ecoparasite/population/package-summary.html +++ b/Doc/ecoparasite/population/package-summary.html @@ -1,11 +1,11 @@ - + ecoparasite.population - + @@ -75,14 +75,6 @@ loadScripts(document, 'script');
    Description
     
    - -
     
    - -
     
    - -
     
    - -
     
    diff --git a/Doc/ecoparasite/population/package-tree.html b/Doc/ecoparasite/population/package-tree.html index afd976f..b304d36 100644 --- a/Doc/ecoparasite/population/package-tree.html +++ b/Doc/ecoparasite/population/package-tree.html @@ -1,11 +1,11 @@ - + ecoparasite.population Class Hierarchy - + diff --git a/Doc/ecoparasite/representation/ValeursXY.html b/Doc/ecoparasite/representation/ValeursXY.html new file mode 100644 index 0000000..b0c731e --- /dev/null +++ b/Doc/ecoparasite/representation/ValeursXY.html @@ -0,0 +1,244 @@ + + + + +ValeursXY + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class ValeursXY

    +
    +
    java.lang.Object +
    ecoparasite.representation.ValeursXY
    +
    +
    +
    +
    +
    public class ValeursXY +extends Object
    +
    Représente un tuple de Valeurs X/Y pour nos données. +Ce type de données est utilisé lors de la conversion entre nos données et la partie SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ValeursXY

        +
        +
        public ValeursXY(double x, + double y)
        +
        Constructeur
        +
        +
        Parameters:
        +
        x - Notre valeur correspondant à l'axe X.
        +
        y - Notre valeur correspondant à l'axe Y.
        +
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getX

        +
        +
        public double getX()
        +
        +
        +
      • +
      • +
        +

        setX

        +
        +
        public void setX(double x)
        +
        +
        +
      • +
      • +
        +

        getY

        +
        +
        public double getY()
        +
        +
        +
      • +
      • +
        +

        setY

        +
        +
        public void setY(double y)
        +
        +
        +
      • +
      • +
        +

        convertToXY

        +
        +
        public static <T, V extends Number> +HashSet<ValeursXY> convertToXY(HashSet<T> list, + Function<T,V> getX, + Function<T,V> getY)
        +
        Permet de convertir un type de données en valeursXY.
        +
        +
        Type Parameters:
        +
        T - Le type de données qui vont être converties.
        +
        V - Le type de données retournées comme un nombre.
        +
        Parameters:
        +
        list - Notre liste de données de type T.
        +
        getX - Notre getter pour notre valeur symbolisant X.
        +
        getY - Notre getter pour notre valeur symbolisant Y.
        +
        Returns:
        +
        Un HashSet de valeursXY.
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/representation/package-summary.html b/Doc/ecoparasite/representation/package-summary.html new file mode 100644 index 0000000..7d47400 --- /dev/null +++ b/Doc/ecoparasite/representation/package-summary.html @@ -0,0 +1,99 @@ + + + + +ecoparasite.representation + + + + + + + + + + + + + + +
    + +
    +
    + +
    +
    +

    Package ecoparasite.representation

    +
    +
    +
    +
    package ecoparasite.representation
    +
    +
    +
      +
    • + +
    • +
    • +
      +
      Classes
      +
      +
      Class
      +
      Description
      + +
      +
      Représente un tuple de Valeurs X/Y pour nos données.
      +
      +
      +
      +
    • +
    +
    +
    +
    + + diff --git a/Doc/ecoparasite/representation/package-tree.html b/Doc/ecoparasite/representation/package-tree.html new file mode 100644 index 0000000..6ae97c4 --- /dev/null +++ b/Doc/ecoparasite/representation/package-tree.html @@ -0,0 +1,73 @@ + + + + +ecoparasite.representation Class Hierarchy + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +

    Hierarchy For Package ecoparasite.representation

    +
    +Package Hierarchies: + +
    +

    Class Hierarchy

    + +
    +
    +
    + + diff --git a/Doc/ecoparasite/svg/Coordonnees.html b/Doc/ecoparasite/svg/Coordonnees.html new file mode 100644 index 0000000..22071b3 --- /dev/null +++ b/Doc/ecoparasite/svg/Coordonnees.html @@ -0,0 +1,204 @@ + + + + +Coordonnees + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class Coordonnees

    +
    +
    java.lang.Object +
    ecoparasite.svg.Coordonnees
    +
    +
    +
    +
    +
    public class Coordonnees +extends Object
    +
    Classe qui permet de stocker les coordonnées utilisées pour le positionnement sur le fichier SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Coordonnees

        +
        +
        public Coordonnees(double x, + double y)
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getX

        +
        +
        public double getX()
        +
        +
        +
      • +
      • +
        +

        setX

        +
        +
        public void setX(double x)
        +
        +
        +
      • +
      • +
        +

        getY

        +
        +
        public double getY()
        +
        +
        +
      • +
      • +
        +

        setY

        +
        +
        public void setY(double y)
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/IncorrectAxesPointsException.html b/Doc/ecoparasite/svg/IncorrectAxesPointsException.html new file mode 100644 index 0000000..c1fd2a6 --- /dev/null +++ b/Doc/ecoparasite/svg/IncorrectAxesPointsException.html @@ -0,0 +1,151 @@ + + + + +IncorrectAxesPointsException + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class IncorrectAxesPointsException

    +
    +
    java.lang.Object +
    java.lang.Throwable +
    java.lang.Exception +
    ecoparasite.svg.IncorrectAxesPointsException
    +
    +
    +
    +
    +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class IncorrectAxesPointsException +extends Exception
    +
    Exception déclenchée lorsque le format des Axes est incorrect par rapport à ce que la fonction attend.
    +
    +
    See Also:
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        IncorrectAxesPointsException

        +
        +
        public IncorrectAxesPointsException()
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/SVGBuilder.html b/Doc/ecoparasite/svg/SVGBuilder.html new file mode 100644 index 0000000..35d9091 --- /dev/null +++ b/Doc/ecoparasite/svg/SVGBuilder.html @@ -0,0 +1,473 @@ + + + + +SVGBuilder + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class SVGBuilder

    +
    +
    java.lang.Object +
    ecoparasite.svg.SVGBuilder
    +
    +
    +
    +
    +
    public class SVGBuilder +extends Object
    +
    Classe qui permet de construire les éléments présents sur le SVG. +Axes, Points, Regression, Ticks.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      + +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getPointsX

        +
        +
        public ArrayList<Double> getPointsX()
        +
        +
        +
      • +
      • +
        +

        getPointsY

        +
        +
        public ArrayList<Double> getPointsY()
        +
        +
        +
      • +
      • +
        +

        getOffsetX

        +
        +
        public Double getOffsetX()
        +
        +
        +
      • +
      • +
        +

        getOffsetY

        +
        +
        public Double getOffsetY()
        +
        +
        +
      • +
      • +
        +

        getResizer

        +
        +
        public SVGResizing getResizer()
        +
        Permet d'obtenir un resizer ou bien le crée s'il n'existe pas déjà.
        +
        +
        Returns:
        +
        +
        +
        +
      • +
      • +
        +

        setResizer

        +
        +
        public void setResizer(SVGResizing resizer)
        +
        +
        +
      • +
      • +
        +

        buildAll

        +
        +
        public ArrayList<Element> buildAll(String XLabel, + String YLabel, + HashSet<ValeursXY> points, + double A, + double B)
        +
        Permet de tout construire d'un seul coup.
        +
        +
        Parameters:
        +
        XLabel - Le nom de l'axe X.
        +
        YLabel - Le nom de l'axe Y.
        +
        points - Les points pour le nuage de points.
        +
        A - Le coefficient A de la regression
        +
        B - Le coefficient B de la regression
        +
        Returns:
        +
        Une liste d'éléments pour la génération du SVG.
        +
        +
        +
        +
      • +
      • +
        +

        buildAxes

        +
        +
        public ArrayList<Element> buildAxes(String XLabel, + String YLabel)
        +
        Permet de construire les axes au format SVG.
        +
        +
        Parameters:
        +
        XLabel - Le nom de l'axe X.
        +
        YLabel - Le nom de l'axe Y.
        +
        Returns:
        +
        La liste d'éléments SVG pour les axes.
        +
        +
        +
        +
      • +
      • +
        +

        buildXTicks

        +
        +
        public ArrayList<Element> buildXTicks()
        +
        Permet de construire les batons de l'axe X. +Utilise this.pointsX
        +
        +
        Returns:
        +
        La liste d'éléments des points X.
        +
        +
        +
        +
      • +
      • +
        +

        buildYTicks

        +
        +
        public ArrayList<Element> buildYTicks()
        +
        Permet de construire les batons de l'axe Y. +Utilise this.pointsY
        +
        +
        Returns:
        +
        La liste d'éléments des points Y.
        +
        +
        +
        +
      • +
      • +
        +

        buildPoints

        +
        +
        public ArrayList<Element> buildPoints(HashSet<ValeursXY> points)
        +
        Construire le nuage de points sur le SVG.
        +
        +
        Parameters:
        +
        points - La liste des points.
        +
        Returns:
        +
        La liste des éléments pour le nuage de points SVG.
        +
        +
        +
        +
      • +
      • +
        +

        buildRegression

        +
        +
        public ArrayList<Element> buildRegression(double A, + double B)
        +
        Construire la droite de regression linéaire.
        +
        +
        Parameters:
        +
        A - Coefficient a
        +
        B - Coefficient B
        +
        Returns:
        +
        La liste des éléments pour la droite.
        +
        +
        +
        +
      • +
      • +
        +

        calcPointAxes

        +
        +
        public static HashMap<String, ArrayList<Double>> calcPointAxes(HashSet<ValeursXY> h)
        +
        Permet de renvoyer des valeurs "clean" pour l'affichage des axes
        +
        +
        Parameters:
        +
        h - Contient les Coordonnées de chacun des points de nos données
        +
        Returns:
        +
        une HashMap de String et de Hashset de Double. + Avec la String "AxeX", un Hashset de Double contenant les valeurs des gradations de l'axe X + Avec la String "AxeY", un Hashset de Double contenant les valeurs des gragations de l'axe Y + Avec la String "OffsetX", un Hashset de Double contenant uniquement la valeur de l'offset des points par rapport à l'axe X + Avec la String "OffsetY", un Hashset de Double contenant uniquement la valeur de l'offset des points par rapport à l'axe Y
        +
        +
        +
        +
      • +
      • +
        +

        niceStep

        +
        +
        public static double niceStep(double range, + int targetTicks)
        +
        Fonction de calcul d'un step rond +Cette fonction est basé sur une idée demandée à ChatGPT
        +
        +
        Parameters:
        +
        range - écart entre la plus petite et la plus grande valeur
        +
        targetTicks - nombre de gradation ideal
        +
        Returns:
        +
        +
        +
        +
      • +
      • +
        +

        roundMin

        +
        +
        public static double roundMin(double value, + double step)
        +
        retourne une valeur arrondi "joli" adapter à un graphique
        +
        +
        Parameters:
        +
        value -
        +
        step -
        +
        Returns:
        +
        +
        +
        +
      • +
      • +
        +

        roundMax

        +
        +
        public static double roundMax(double value, + double step)
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/SVGFactory.html b/Doc/ecoparasite/svg/SVGFactory.html new file mode 100644 index 0000000..12b1c51 --- /dev/null +++ b/Doc/ecoparasite/svg/SVGFactory.html @@ -0,0 +1,266 @@ + + + + +SVGFactory + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class SVGFactory

    +
    +
    java.lang.Object +
    ecoparasite.svg.SVGFactory
    +
    +
    +
    +
    +
    public class SVGFactory +extends Object
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        SVGFactory

        +
        +
        public SVGFactory()
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        createSVG

        +
        +
        public static boolean createSVG(ArrayList<Element> mesElements)
        +
        Permet la création du fichier SVG
        +
        +
        Parameters:
        +
        mesElements - un array des elements à ajouter dans le svg
        +
        Returns:
        +
        True si la création est un succès, False sinon
        +
        +
        +
        +
      • +
      • +
        +

        createSVG

        +
        +
        public static boolean createSVG(ArrayList<Element> mesElements, + String filename)
        +
        Permet la création du fichier SVG (Polymorphisme pour ajouter un nom de fichier)
        +
        +
        Parameters:
        +
        mesElements - un Array des elements à ajouter dans le SVG
        +
        filename - une String représentant le nom du fichier choisi
        +
        Returns:
        +
        True si la création est un succès, False sinon
        +
        +
        +
        +
      • +
      • +
        +

        createSVGCode

        +
        +
        public static String createSVGCode(ArrayList<Element> mesElements)
        +
        Fonction basique de transformation des éléments en code SVG
        +
        +
        Parameters:
        +
        mesElements - un array contenant les éléments à mettre dans le svg
        +
        Returns:
        +
        une String contenant la totalité du code SVG de notre graphique
        +
        +
        +
        +
      • +
      • +
        +

        createFile

        +
        +
        public static void createFile(String data) + throws IOException
        +
        fonction qui créer le fichier, ici avec une ID random comme nom de fichier
        +
        +
        Parameters:
        +
        data - une String contenant le contenue du fichier désiré (ici pour le SVG)
        +
        Throws:
        +
        IOException - Déclenché par un échec de la création du fichier
        +
        +
        +
        +
      • +
      • +
        +

        createFile

        +
        +
        public static void createFile(String data, + String filename) + throws IOException
        +
        Permet la création du fichier
        +
        +
        Parameters:
        +
        data - une String contenant le contenue du fichier désiré
        +
        filename - une String contenant le nom du fichier voulu
        +
        Throws:
        +
        IOException - Déclenché par un échec de la création du fichier
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/SVGResizing.html b/Doc/ecoparasite/svg/SVGResizing.html new file mode 100644 index 0000000..b903fee --- /dev/null +++ b/Doc/ecoparasite/svg/SVGResizing.html @@ -0,0 +1,255 @@ + + + + +SVGResizing + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class SVGResizing

    +
    +
    java.lang.Object +
    ecoparasite.svg.SVGResizing
    +
    +
    +
    +
    +
    public class SVGResizing +extends Object
    +
    Classe qui permet de convertir des doubles en dimension SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        SVGResizing

        +
        +
        public SVGResizing(double minXGrad, + double minYGrad, + double maxXGrad, + double maxYGrad)
        +
        Constructeur. +Définit les minimum et maximum X et Y.
        +
        +
        Parameters:
        +
        minXGrad -
        +
        minYGrad -
        +
        maxXGrad -
        +
        maxYGrad -
        +
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getMinX

        +
        +
        public double getMinX()
        +
        +
        +
      • +
      • +
        +

        getMaxX

        +
        +
        public double getMaxX()
        +
        +
        +
      • +
      • +
        +

        getMinY

        +
        +
        public double getMinY()
        +
        +
        +
      • +
      • +
        +

        getMaxY

        +
        +
        public double getMaxY()
        +
        +
        +
      • +
      • +
        +

        resize

        +
        +
        public Coordonnees resize(ValeursXY vxy)
        +
        +
        +
      • +
      • +
        +

        resize

        +
        +
        public Coordonnees resize(double X, + double Y)
        +
        Permet de redimensionner quelconque valeur X Y (Provenant de ValeursXY par exemple) en Coordonnées SVG.
        +
        +
        Parameters:
        +
        X -
        +
        Y -
        +
        Returns:
        +
        La coordonnée SVG équivalente.
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/Circle.html b/Doc/ecoparasite/svg/elements/Circle.html new file mode 100644 index 0000000..accb67d --- /dev/null +++ b/Doc/ecoparasite/svg/elements/Circle.html @@ -0,0 +1,264 @@ + + + + +Circle + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class Circle

    +
    +
    java.lang.Object +
    ecoparasite.svg.elements.Element +
    ecoparasite.svg.elements.Circle
    +
    +
    +
    +
    +
    +
    public class Circle +extends Element
    +
    Element Cercle SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Circle

        +
        +
        public Circle(Coordonnees coordonnees, + int rayon, + String color)
        +
        Constructeur.
        +
        +
        Parameters:
        +
        coordonnees -
        +
        rayon -
        +
        color - - Couleur provenant de ElementsFactory.
        +
        +
        +
        +
      • +
      • +
        +

        Circle

        +
        +
        public Circle(Coordonnees coordonnees, + int rayon)
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getRayon

        +
        +
        public int getRayon()
        +
        +
        +
      • +
      • +
        +

        setRayon

        +
        +
        public void setRayon(int rayon)
        +
        +
        +
      • +
      • +
        +

        getColor

        +
        +
        public String getColor()
        +
        +
        +
      • +
      • +
        +

        setColor

        +
        +
        public void setColor(String color)
        +
        +
        +
      • +
      • +
        +

        toSVG

        +
        +
        public String toSVG()
        +
        Crée la string SVG.
        +
        +
        Specified by:
        +
        toSVG in class Element
        +
        Returns:
        +
        La string SVG.
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/Element.html b/Doc/ecoparasite/svg/elements/Element.html new file mode 100644 index 0000000..103d6a6 --- /dev/null +++ b/Doc/ecoparasite/svg/elements/Element.html @@ -0,0 +1,260 @@ + + + + +Element + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class Element

    +
    +
    java.lang.Object +
    ecoparasite.svg.elements.Element
    +
    +
    +
    +
    Direct Known Subclasses:
    +
    Circle, Line, Text
    +
    +
    +
    +
    public abstract class Element +extends Object
    +
    Classe abstraite qui permet de définir des éléments SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        coordonnees

        +
        +
        protected Coordonnees coordonnees
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Element

        +
        +
        public Element(Coordonnees coordonnees)
        +
        Constructeur par défaut. +Inscrit juste les coordonnées.
        +
        +
        Parameters:
        +
        coordonnees - Les coordonnées.
        +
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getCoordonnees

        +
        +
        public Coordonnees getCoordonnees()
        +
        +
        +
      • +
      • +
        +

        setCoordonnees

        +
        +
        public void setCoordonnees(Coordonnees coordonnees)
        +
        +
        +
      • +
      • +
        +

        setCoordonnees

        +
        +
        public void setCoordonnees(int x, + int y)
        +
        +
        +
      • +
      • +
        +

        toSVG

        +
        +
        public abstract String toSVG()
        +
        Méthode abstraite qui va permettre de transformer notre élément en SVG.
        +
        +
        Returns:
        +
        La String SVG
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/ElementsFactory.html b/Doc/ecoparasite/svg/elements/ElementsFactory.html new file mode 100644 index 0000000..b8f8067 --- /dev/null +++ b/Doc/ecoparasite/svg/elements/ElementsFactory.html @@ -0,0 +1,307 @@ + + + + +ElementsFactory + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class ElementsFactory

    +
    +
    java.lang.Object +
    ecoparasite.svg.elements.ElementsFactory
    +
    +
    +
    +
    +
    public class ElementsFactory +extends Object
    +
    Contient divers éléments utiles pour les fichiers SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Field Details

      +
        +
      • +
        +

        SVG_SIZE

        +
        +
        public static final int SVG_SIZE
        +
        Taille du fichier SVG. +SVG_SIZE * SVG_SIZE
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        SVG_OFFSET

        +
        +
        public static final int SVG_OFFSET
        +
        Le décalage de cadre du fichier SVG.
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        AXES_TEXT_SIZE

        +
        +
        public static final int AXES_TEXT_SIZE
        +
        La taille du texte pour les axes.
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        COLOR_WHITE

        +
        +
        public static final String COLOR_WHITE
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        COLOR_RED

        +
        +
        public static final String COLOR_RED
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        COLOR_BLUE

        +
        +
        public static final String COLOR_BLUE
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      • +
        +

        COLOR_BLACK

        +
        +
        public static final String COLOR_BLACK
        +
        +
        See Also:
        +
        + +
        +
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        ElementsFactory

        +
        +
        public ElementsFactory()
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/Line.html b/Doc/ecoparasite/svg/elements/Line.html new file mode 100644 index 0000000..383672f --- /dev/null +++ b/Doc/ecoparasite/svg/elements/Line.html @@ -0,0 +1,314 @@ + + + + +Line + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class Line

    +
    +
    java.lang.Object +
    ecoparasite.svg.elements.Element +
    ecoparasite.svg.elements.Line
    +
    +
    +
    +
    +
    +
    public class Line +extends Element
    +
    Permet de construire une droite/ligne en SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Line

        +
        +
        public Line(Coordonnees coordonneesA, + Coordonnees coordonneesB, + String color, + int lineWidth)
        +
        Constructeur
        +
        +
        Parameters:
        +
        coordonneesA - Coordonnées de départ
        +
        coordonneesB - Coordonnées d'arrivé.
        +
        color - Couleur provenant de ElementsFactory
        +
        lineWidth - Epaisseur de la ligne.
        +
        +
        +
        +
      • +
      • +
        +

        Line

        +
        +
        public Line(Coordonnees coordonneesA, + Coordonnees coordonneesB)
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getCoordonneesA

        +
        +
        public Coordonnees getCoordonneesA()
        +
        +
        +
      • +
      • +
        +

        setCoordonneesA

        +
        +
        public void setCoordonneesA(Coordonnees coordonnees)
        +
        +
        +
      • +
      • +
        +

        getCoordonneesB

        +
        +
        public Coordonnees getCoordonneesB()
        +
        +
        +
      • +
      • +
        +

        setCoordonneesB

        +
        +
        public void setCoordonneesB(Coordonnees coordonnees)
        +
        +
        +
      • +
      • +
        +

        getColor

        +
        +
        public String getColor()
        +
        +
        +
      • +
      • +
        +

        setColor

        +
        +
        public void setColor(String color)
        +
        +
        +
      • +
      • +
        +

        getLineWidth

        +
        +
        public int getLineWidth()
        +
        +
        +
      • +
      • +
        +

        setLineWidth

        +
        +
        public void setLineWidth(int lineWidth)
        +
        +
        +
      • +
      • +
        +

        toSVG

        +
        +
        public String toSVG()
        +
        Génère la string SVG de l'élément.
        +
        +
        Specified by:
        +
        toSVG in class Element
        +
        Returns:
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/Text.html b/Doc/ecoparasite/svg/elements/Text.html new file mode 100644 index 0000000..367e047 --- /dev/null +++ b/Doc/ecoparasite/svg/elements/Text.html @@ -0,0 +1,290 @@ + + + + +Text + + + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    +

    Class Text

    +
    +
    java.lang.Object +
    ecoparasite.svg.elements.Element +
    ecoparasite.svg.elements.Text
    +
    +
    +
    +
    +
    +
    public class Text +extends Element
    +
    Élement qui permet de générer un texte sur le SVG.
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Constructor Details

      +
        +
      • +
        +

        Text

        +
        +
        public Text(Coordonnees coordonnees, + String text, + String color, + int size)
        +
        Constructeur
        +
        +
        Parameters:
        +
        coordonnees - Les coordonnées du texte
        +
        text -
        +
        color - Provenant de ElementsFactory
        +
        size - La taille du texte
        +
        +
        +
        +
      • +
      • +
        +

        Text

        +
        +
        public Text(Coordonnees coordonnees, + String text)
        +
        +
        +
      • +
      +
      +
    • + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        getText

        +
        +
        public String getText()
        +
        +
        +
      • +
      • +
        +

        setText

        +
        +
        public void setText(String text)
        +
        +
        +
      • +
      • +
        +

        getColor

        +
        +
        public String getColor()
        +
        +
        +
      • +
      • +
        +

        setColor

        +
        +
        public void setColor(String color)
        +
        +
        +
      • +
      • +
        +

        getSize

        +
        +
        public int getSize()
        +
        +
        +
      • +
      • +
        +

        setSize

        +
        +
        public void setSize(int size)
        +
        +
        +
      • +
      • +
        +

        toSVG

        +
        +
        public String toSVG()
        +
        Génère la string SVG.
        +
        +
        Specified by:
        +
        toSVG in class Element
        +
        Returns:
        +
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/package-summary.html b/Doc/ecoparasite/svg/elements/package-summary.html new file mode 100644 index 0000000..60608f6 --- /dev/null +++ b/Doc/ecoparasite/svg/elements/package-summary.html @@ -0,0 +1,115 @@ + + + + +ecoparasite.svg.elements + + + + + + + + + + + + + + +
    + +
    +
    + +
    +
    +

    Package ecoparasite.svg.elements

    +
    +
    +
    +
    package ecoparasite.svg.elements
    +
    +
    +
      +
    • + +
    • +
    • +
      +
      Classes
      +
      +
      Class
      +
      Description
      + +
      +
      Element Cercle SVG.
      +
      + +
      +
      Classe abstraite qui permet de définir des éléments SVG.
      +
      + +
      +
      Contient divers éléments utiles pour les fichiers SVG.
      +
      + +
      +
      Permet de construire une droite/ligne en SVG.
      +
      + +
      +
      Élement qui permet de générer un texte sur le SVG.
      +
      +
      +
      +
    • +
    +
    +
    +
    + + diff --git a/Doc/ecoparasite/svg/elements/package-tree.html b/Doc/ecoparasite/svg/elements/package-tree.html new file mode 100644 index 0000000..834f66a --- /dev/null +++ b/Doc/ecoparasite/svg/elements/package-tree.html @@ -0,0 +1,80 @@ + + + + +ecoparasite.svg.elements Class Hierarchy + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +

    Hierarchy For Package ecoparasite.svg.elements

    +
    +Package Hierarchies: + +
    +

    Class Hierarchy

    + +
    +
    +
    + + diff --git a/Doc/ecoparasite/svg/package-summary.html b/Doc/ecoparasite/svg/package-summary.html new file mode 100644 index 0000000..44613d2 --- /dev/null +++ b/Doc/ecoparasite/svg/package-summary.html @@ -0,0 +1,117 @@ + + + + +ecoparasite.svg + + + + + + + + + + + + + + +
    + +
    +
    + +
    +
    +

    Package ecoparasite.svg

    +
    +
    +
    +
    package ecoparasite.svg
    +
    +
    +
      +
    • + +
    • +
    • +
      +
      +
      +
      +
      Class
      +
      Description
      + +
      +
      Classe qui permet de stocker les coordonnées utilisées pour le positionnement sur le fichier SVG.
      +
      + +
      +
      Exception déclenchée lorsque le format des Axes est incorrect par rapport à ce que la fonction attend.
      +
      + +
      +
      Classe qui permet de construire les éléments présents sur le SVG.
      +
      + +
       
      + +
      +
      Classe qui permet de convertir des doubles en dimension SVG.
      +
      +
      +
      +
      +
    • +
    +
    +
    +
    + + diff --git a/Doc/ecoparasite/svg/package-tree.html b/Doc/ecoparasite/svg/package-tree.html new file mode 100644 index 0000000..37facc5 --- /dev/null +++ b/Doc/ecoparasite/svg/package-tree.html @@ -0,0 +1,85 @@ + + + + +ecoparasite.svg Class Hierarchy + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +

    Hierarchy For Package ecoparasite.svg

    +
    +Package Hierarchies: + +
    +

    Class Hierarchy

    + +
    +
    +
    + + diff --git a/Doc/element-list b/Doc/element-list index ad59fee..b54fe77 100644 --- a/Doc/element-list +++ b/Doc/element-list @@ -4,3 +4,6 @@ ecoparasite.input ecoparasite.nettoyage ecoparasite.poisson ecoparasite.population +ecoparasite.representation +ecoparasite.svg +ecoparasite.svg.elements diff --git a/Doc/help-doc.html b/Doc/help-doc.html index b328f18..fb78a96 100644 --- a/Doc/help-doc.html +++ b/Doc/help-doc.html @@ -1,11 +1,11 @@ - + API Help - + diff --git a/Doc/index-files/index-1.html b/Doc/index-files/index-1.html index 3230e24..b979189 100644 --- a/Doc/index-files/index-1.html +++ b/Doc/index-files/index-1.html @@ -1,11 +1,11 @@ - + A-Index - + @@ -50,17 +50,19 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    A

    Application - Class in ecoparasite
     
    Application() - Constructor for class ecoparasite.Application
     
    -
    applyValueForPopEval(PopulationArgs, String, String) - Static method in class ecoparasite.LectureEval
    -
     
    +
    AXES_TEXT_SIZE - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
    +
    La taille du texte pour les axes.
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-10.html b/Doc/index-files/index-10.html index 4d47d18..3a832f2 100644 --- a/Doc/index-files/index-10.html +++ b/Doc/index-files/index-10.html @@ -1,11 +1,11 @@ - + M-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    M

    Mackerel - Class in ecoparasite.poisson
    @@ -61,6 +61,8 @@ loadScripts(document, 'script');
    Constructeur de Mackerel
    +
    MackerelFile(String) - Static method in class ecoparasite.Application
    +
     
    MackerelSerra - Class in ecoparasite.poisson
    Classe MackerelSerra créer pour le fichier test2.csv @@ -72,8 +74,6 @@ cette classe existe principalement pour l'évaluation
    main(String[]) - Static method in class ecoparasite.Application
     
    -
    main(String[]) - Static method in class ecoparasite.LectureEval
    -
     
    Merlu - Class in ecoparasite.poisson
    Hérite de Poisson.
    @@ -82,8 +82,10 @@ cette classe existe principalement pour l'évaluation
    Construteur d'un merlu
    +
    MerluFile(String) - Static method in class ecoparasite.Application
    +
     
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-11.html b/Doc/index-files/index-11.html index 08f59c0..c1a53ac 100644 --- a/Doc/index-files/index-11.html +++ b/Doc/index-files/index-11.html @@ -1,11 +1,11 @@ - + N-Index - + @@ -50,24 +50,16 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    N

    -
    nettoieColumnsLinear(HashSet, Function, Function, BiConsumer) - Static method in class ecoparasite.nettoyage.Nettoyage
    -
    -
    Polymorphisme de la fonction nettoyage de colonne linéaire avec par défaut, l'autorisation des valeurs négatives.
    -
    -
    nettoieColumnsLinear(HashSet, Function, Function, BiConsumer, boolean) - Static method in class ecoparasite.nettoyage.Nettoyage
    -
    -
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet à l'aide d'une regression linéaire, corrélation entre deux valeurs.
    -
    -
    nettoieColumnsMoyenne(HashSet, Function, BiConsumer) - Static method in class ecoparasite.nettoyage.Nettoyage
    +
    nettoieColumns(HashSet, Function, BiConsumer) - Static method in class ecoparasite.nettoyage.Nettoyage
    Polymorphisme de la fonction précédente.
    -
    nettoieColumnsMoyenne(HashSet, Function, BiConsumer, boolean) - Static method in class ecoparasite.nettoyage.Nettoyage
    +
    nettoieColumns(HashSet, Function, BiConsumer, boolean) - Static method in class ecoparasite.nettoyage.Nettoyage
    -
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet par la moyenne des autres valeurs (non nulles).
    +
    Permet de remplacer les valeurs abérrantes d'un paramètre d'un HashSet par null.
    Nettoyage - Class in ecoparasite.nettoyage
    @@ -75,8 +67,13 @@ loadScripts(document, 'script');
    Nettoyage() - Constructor for class ecoparasite.nettoyage.Nettoyage
     
    +
    niceStep(double, int) - Static method in class ecoparasite.svg.SVGBuilder
    +
    +
    Fonction de calcul d'un step rond +Cette fonction est basé sur une idée demandée à ChatGPT
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-12.html b/Doc/index-files/index-12.html index 7f84766..9ba87ab 100644 --- a/Doc/index-files/index-12.html +++ b/Doc/index-files/index-12.html @@ -1,11 +1,11 @@ - + P-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    P

    parse(RawData) - Static method in interface ecoparasite.input.DataParsing
    @@ -91,8 +91,6 @@ loadScripts(document, 'script');
    Raccourci vers les méthodes de DataParsing.
    -
    parseEval(RawData) - Static method in class ecoparasite.LectureEval
    -
     
    parseParasitesPeru(RawData) - Static method in class ecoparasite.population.PopulationParsing
    Permet, à partir d'un objet RawData, de parse les données tel que le fichier parasitesPeru est structuré.
    @@ -117,6 +115,8 @@ loadScripts(document, 'script');
    Constructeur de l'objet Poisson
    +
    PopPeru(String) - Static method in class ecoparasite.Application
    +
     
    Population - Class in ecoparasite.population
    Permet de gérer une population selon les années.
    @@ -172,7 +172,7 @@ loadScripts(document, 'script');
    PopulationParsing() - Constructor for class ecoparasite.population.PopulationParsing
     
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-13.html b/Doc/index-files/index-13.html index 4c6ef39..b41b64d 100644 --- a/Doc/index-files/index-13.html +++ b/Doc/index-files/index-13.html @@ -1,11 +1,11 @@ - + R-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    R

    RawData - Class in ecoparasite.input
    @@ -75,8 +75,20 @@ loadScripts(document, 'script');
    Permet de lire les données brutes d'un fichier CSV.
    +
    resize(double, double) - Method in class ecoparasite.svg.SVGResizing
    +
    +
    Permet de redimensionner quelconque valeur X Y (Provenant de ValeursXY par exemple) en Coordonnées SVG.
    +
    +
    resize(ValeursXY) - Method in class ecoparasite.svg.SVGResizing
    +
     
    +
    roundMax(double, double) - Static method in class ecoparasite.svg.SVGBuilder
    +
     
    +
    roundMin(double, double) - Static method in class ecoparasite.svg.SVGBuilder
    +
    +
    retourne une valeur arrondi "joli" adapter à un graphique
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-14.html b/Doc/index-files/index-14.html index 5073b47..3f49a8c 100644 --- a/Doc/index-files/index-14.html +++ b/Doc/index-files/index-14.html @@ -1,11 +1,11 @@ - + S-Index - + @@ -50,11 +50,25 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    S

    setAbondance(Double) - Method in class ecoparasite.population.PopulationArgs
     
    +
    setColor(String) - Method in class ecoparasite.svg.elements.Circle
    +
     
    +
    setColor(String) - Method in class ecoparasite.svg.elements.Line
    +
     
    +
    setColor(String) - Method in class ecoparasite.svg.elements.Text
    +
     
    +
    setCoordonnees(int, int) - Method in class ecoparasite.svg.elements.Element
    +
     
    +
    setCoordonnees(Coordonnees) - Method in class ecoparasite.svg.elements.Element
    +
     
    +
    setCoordonneesA(Coordonnees) - Method in class ecoparasite.svg.elements.Line
    +
     
    +
    setCoordonneesB(Coordonnees) - Method in class ecoparasite.svg.elements.Line
    +
     
    setFishParts(HashSet) - Method in class ecoparasite.poisson.Poisson
    Setter de l'attribut des parties de poisson.
    @@ -71,6 +85,12 @@ loadScripts(document, 'script');
     
    setLength(PopulationArgInterval) - Method in class ecoparasite.population.PopulationArgs
     
    +
    setLength(Double) - Method in class ecoparasite.poisson.Poisson
    +
    +
    Setter de l'attribut length
    +
    +
    setLineWidth(int) - Method in class ecoparasite.svg.elements.Line
    +
     
    setName(String) - Method in class ecoparasite.poisson.PartiePoisson
     
    setNumber(int) - Method in class ecoparasite.population.PopulationArgs
    @@ -79,14 +99,58 @@ loadScripts(document, 'script');
     
    setPrevalence(PopulationArgInterval) - Method in class ecoparasite.population.PopulationArgs
     
    +
    setRayon(int) - Method in class ecoparasite.svg.elements.Circle
    +
     
    +
    setResizer(SVGResizing) - Method in class ecoparasite.svg.SVGBuilder
    +
     
    +
    setSize(int) - Method in class ecoparasite.svg.elements.Text
    +
     
    +
    setText(String) - Method in class ecoparasite.svg.elements.Text
    +
     
    setTotal(PopulationArgs) - Method in class ecoparasite.population.Population
     
    setWidth(PopulationArgInterval) - Method in class ecoparasite.population.PopulationArgs
     
    +
    setX(double) - Method in class ecoparasite.representation.ValeursXY
    +
     
    +
    setX(double) - Method in class ecoparasite.svg.Coordonnees
    +
     
    +
    setY(double) - Method in class ecoparasite.representation.ValeursXY
    +
     
    +
    setY(double) - Method in class ecoparasite.svg.Coordonnees
    +
     
    setZone(String) - Method in class ecoparasite.population.PopulationArgs
     
    +
    SVG_OFFSET - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
    +
    Le décalage de cadre du fichier SVG.
    +
    +
    SVG_SIZE - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
    +
    Taille du fichier SVG.
    +
    +
    SVGBuilder - Class in ecoparasite.svg
    +
    +
    Classe qui permet de construire les éléments présents sur le SVG.
    +
    +
    SVGBuilder(HashMap) - Constructor for class ecoparasite.svg.SVGBuilder
    +
    +
    Constructeur.
    +
    +
    SVGFactory - Class in ecoparasite.svg
    +
     
    +
    SVGFactory() - Constructor for class ecoparasite.svg.SVGFactory
    +
     
    +
    SVGResizing - Class in ecoparasite.svg
    +
    +
    Classe qui permet de convertir des doubles en dimension SVG.
    +
    +
    SVGResizing(double, double, double, double) - Constructor for class ecoparasite.svg.SVGResizing
    +
    +
    Constructeur.
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-15.html b/Doc/index-files/index-15.html index cf385c4..24d75d1 100644 --- a/Doc/index-files/index-15.html +++ b/Doc/index-files/index-15.html @@ -1,11 +1,11 @@ - + T-Index - + @@ -50,9 +50,21 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    T

    +
    test2Render(String) - Static method in class ecoparasite.Application
    +
     
    +
    Text - Class in ecoparasite.svg.elements
    +
    +
    Élement qui permet de générer un texte sur le SVG.
    +
    +
    Text(Coordonnees, String) - Constructor for class ecoparasite.svg.elements.Text
    +
     
    +
    Text(Coordonnees, String, String, int) - Constructor for class ecoparasite.svg.elements.Text
    +
    +
    Constructeur
    +
    toString() - Method in class ecoparasite.input.RawData
    Permet d'avoir un affichage debug du contenu de notre jeu de données.
    @@ -64,13 +76,31 @@ loadScripts(document, 'script');
    toString() - Method in class ecoparasite.population.Population
     
    toString() - Method in class ecoparasite.population.PopulationArgs
    -
     
    +
    +
    Avoir sous forme de string les données de nos arguments de population.
    +
    +
    toSVG() - Method in class ecoparasite.svg.elements.Circle
    +
    +
    Crée la string SVG.
    +
    +
    toSVG() - Method in class ecoparasite.svg.elements.Element
    +
    +
    Méthode abstraite qui va permettre de transformer notre élément en SVG.
    +
    +
    toSVG() - Method in class ecoparasite.svg.elements.Line
    +
    +
    Génère la string SVG de l'élément.
    +
    +
    toSVG() - Method in class ecoparasite.svg.elements.Text
    +
    +
    Génère la string SVG.
    +
    transformToDouble() - Method in class ecoparasite.population.PopulationArgInterval
    Permet de transformer un intervalle en double.
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-16.html b/Doc/index-files/index-16.html new file mode 100644 index 0000000..df5bd89 --- /dev/null +++ b/Doc/index-files/index-16.html @@ -0,0 +1,72 @@ + + + + +V-Index + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +

    Index

    +
    +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +

    V

    +
    +
    ValeursXY - Class in ecoparasite.representation
    +
    +
    Représente un tuple de Valeurs X/Y pour nos données.
    +
    +
    ValeursXY(double, double) - Constructor for class ecoparasite.representation.ValeursXY
    +
    +
    Constructeur
    +
    +
    validFile() - Static method in class ecoparasite.Application
    +
     
    +
    validFileName(File, HashSet) - Static method in class ecoparasite.Application
    +
     
    +
    +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
    +
    + + diff --git a/Doc/index-files/index-2.html b/Doc/index-files/index-2.html index fdb6eb9..5e470e3 100644 --- a/Doc/index-files/index-2.html +++ b/Doc/index-files/index-2.html @@ -1,11 +1,11 @@ - + B-Index - + @@ -50,15 +50,39 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    B

    +
    buildAll(String, String, HashSet, double, double) - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet de tout construire d'un seul coup.
    +
    +
    buildAxes(String, String) - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet de construire les axes au format SVG.
    +
    buildDataPath(String) - Static method in class ecoparasite.input.InputFactory
    Construit le chemin vers le fichier de données voulu.
    +
    buildPoints(HashSet) - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Construire le nuage de points sur le SVG.
    +
    +
    buildRegression(double, double) - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Construire la droite de regression linéaire.
    +
    +
    buildXTicks() - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet de construire les batons de l'axe X.
    +
    +
    buildYTicks() - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet de construire les batons de l'axe Y.
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-3.html b/Doc/index-files/index-3.html index 8ca40f9..06d32b9 100644 --- a/Doc/index-files/index-3.html +++ b/Doc/index-files/index-3.html @@ -1,11 +1,11 @@ - + C-Index - + @@ -50,9 +50,13 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    C

    +
    calcPointAxes(HashSet) - Static method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet de renvoyer des valeurs "clean" pour l'affichage des axes
    +
    calculateLinearA(HashSet, Function, Function, double, double) - Static method in class ecoparasite.completion.Completion
    Permet de calculer le coefficient A de notre regression linéaire.
    @@ -65,6 +69,24 @@ loadScripts(document, 'script');
    Permet de calculer la moyenne d'une donnée des valeurs non nulles.
    +
    Circle - Class in ecoparasite.svg.elements
    +
    +
    Element Cercle SVG.
    +
    +
    Circle(Coordonnees, int) - Constructor for class ecoparasite.svg.elements.Circle
    +
     
    +
    Circle(Coordonnees, int, String) - Constructor for class ecoparasite.svg.elements.Circle
    +
    +
    Constructeur.
    +
    +
    COLOR_BLACK - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
     
    +
    COLOR_BLUE - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
     
    +
    COLOR_RED - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
     
    +
    COLOR_WHITE - Static variable in class ecoparasite.svg.elements.ElementsFactory
    +
     
    completeColumnsLinear(HashSet, Function, Function, BiConsumer) - Static method in class ecoparasite.completion.Completion
    Permet de remplacer les valeurs inexistantes par les valeurs les plus probables avec une regression linéaire
    @@ -79,8 +101,40 @@ loadScripts(document, 'script');
    Completion() - Constructor for class ecoparasite.completion.Completion
     
    +
    convertToXY(HashSet, Function, Function) - Static method in class ecoparasite.representation.ValeursXY
    +
    +
    Permet de convertir un type de données en valeursXY.
    +
    +
    coordonnees - Variable in class ecoparasite.svg.elements.Element
    +
     
    +
    Coordonnees - Class in ecoparasite.svg
    +
    +
    Classe qui permet de stocker les coordonnées utilisées pour le positionnement sur le fichier SVG.
    +
    +
    Coordonnees(double, double) - Constructor for class ecoparasite.svg.Coordonnees
    +
     
    +
    createFile(String) - Static method in class ecoparasite.svg.SVGFactory
    +
    +
    fonction qui créer le fichier, ici avec une ID random comme nom de fichier
    +
    +
    createFile(String, String) - Static method in class ecoparasite.svg.SVGFactory
    +
    +
    Permet la création du fichier
    +
    +
    createSVG(ArrayList) - Static method in class ecoparasite.svg.SVGFactory
    +
    +
    Permet la création du fichier SVG
    +
    +
    createSVG(ArrayList, String) - Static method in class ecoparasite.svg.SVGFactory
    +
    +
    Permet la création du fichier SVG (Polymorphisme pour ajouter un nom de fichier)
    +
    +
    createSVGCode(ArrayList) - Static method in class ecoparasite.svg.SVGFactory
    +
    +
    Fonction basique de transformation des éléments en code SVG
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-4.html b/Doc/index-files/index-4.html index 4847a19..4f588cc 100644 --- a/Doc/index-files/index-4.html +++ b/Doc/index-files/index-4.html @@ -1,11 +1,11 @@ - + D-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    D

    DATA_MACKEREL - Static variable in class ecoparasite.input.InputFactory
    @@ -64,7 +64,7 @@ loadScripts(document, 'script');
    Interface définissant la fonction de Parsing des données
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-5.html b/Doc/index-files/index-5.html index 8de4295..4d4557d 100644 --- a/Doc/index-files/index-5.html +++ b/Doc/index-files/index-5.html @@ -1,11 +1,11 @@ - + E-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    E

    ecoparasite - package ecoparasite
    @@ -65,8 +65,28 @@ loadScripts(document, 'script');
     
    ecoparasite.population - package ecoparasite.population
     
    +
    ecoparasite.representation - package ecoparasite.representation
    +
     
    +
    ecoparasite.svg - package ecoparasite.svg
    +
     
    +
    ecoparasite.svg.elements - package ecoparasite.svg.elements
    +
     
    +
    Element - Class in ecoparasite.svg.elements
    +
    +
    Classe abstraite qui permet de définir des éléments SVG.
    +
    +
    Element(Coordonnees) - Constructor for class ecoparasite.svg.elements.Element
    +
    +
    Constructeur par défaut.
    +
    +
    ElementsFactory - Class in ecoparasite.svg.elements
    +
    +
    Contient divers éléments utiles pour les fichiers SVG.
    +
    +
    ElementsFactory() - Constructor for class ecoparasite.svg.elements.ElementsFactory
    +
     
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-6.html b/Doc/index-files/index-6.html index f8ed738..7cd6d9d 100644 --- a/Doc/index-files/index-6.html +++ b/Doc/index-files/index-6.html @@ -1,11 +1,11 @@ - + F-Index - + @@ -50,7 +50,7 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    F

    fishParts - Variable in class ecoparasite.poisson.Poisson
    @@ -60,7 +60,7 @@ loadScripts(document, 'script');
    Permet de transformer une String (Extraite d'un fichier CSV) et de la transformer en Intervalle.
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-7.html b/Doc/index-files/index-7.html index c5bb321..0ad0348 100644 --- a/Doc/index-files/index-7.html +++ b/Doc/index-files/index-7.html @@ -1,11 +1,11 @@ - + G-Index - + @@ -50,15 +50,27 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    G

    getAbondance() - Method in class ecoparasite.population.PopulationArgs
     
    +
    getColor() - Method in class ecoparasite.svg.elements.Circle
    +
     
    +
    getColor() - Method in class ecoparasite.svg.elements.Line
    +
     
    +
    getColor() - Method in class ecoparasite.svg.elements.Text
    +
     
    getColumnsNames() - Method in class ecoparasite.input.RawData
    Permet d'obtenir le nom des colonnes de notre jeu de données.
    +
    getCoordonnees() - Method in class ecoparasite.svg.elements.Element
    +
     
    +
    getCoordonneesA() - Method in class ecoparasite.svg.elements.Line
    +
     
    +
    getCoordonneesB() - Method in class ecoparasite.svg.elements.Line
    +
     
    getData() - Method in class ecoparasite.input.RawData
    Getter des données brutes.
    @@ -97,8 +109,18 @@ loadScripts(document, 'script');
    getLength() - Method in class ecoparasite.population.PopulationArgs
     
    +
    getLinearCoef(HashSet, Function, Function) - Static method in class ecoparasite.completion.Completion
    +
    +
    Permet de retourner les coefficients de la regression linéaire.
    +
    +
    getLineWidth() - Method in class ecoparasite.svg.elements.Line
    +
     
    getMax() - Method in class ecoparasite.population.PopulationArgInterval
     
    +
    getMaxX() - Method in class ecoparasite.svg.SVGResizing
    +
     
    +
    getMaxY() - Method in class ecoparasite.svg.SVGResizing
    +
     
    getMean() - Method in class ecoparasite.population.PopulationArgInterval
     
    getMessage() - Method in exception class ecoparasite.input.InputFileException
    @@ -107,18 +129,40 @@ loadScripts(document, 'script');
     
    getMin() - Method in class ecoparasite.population.PopulationArgInterval
     
    +
    getMinX() - Method in class ecoparasite.svg.SVGResizing
    +
     
    +
    getMinY() - Method in class ecoparasite.svg.SVGResizing
    +
     
    getName() - Method in class ecoparasite.poisson.PartiePoisson
     
    getNumber() - Method in class ecoparasite.population.PopulationArgs
     
    +
    getOffsetX() - Method in class ecoparasite.svg.SVGBuilder
    +
     
    +
    getOffsetY() - Method in class ecoparasite.svg.SVGBuilder
    +
     
    getParsingId() - Method in exception class ecoparasite.input.InvalidParsingException
     
    getParsingSource() - Method in exception class ecoparasite.input.InvalidParsingException
     
    getPerYear() - Method in class ecoparasite.population.Population
     
    +
    getPointsX() - Method in class ecoparasite.svg.SVGBuilder
    +
     
    +
    getPointsY() - Method in class ecoparasite.svg.SVGBuilder
    +
     
    getPrevalence() - Method in class ecoparasite.population.PopulationArgs
     
    +
    getRayon() - Method in class ecoparasite.svg.elements.Circle
    +
     
    +
    getResizer() - Method in class ecoparasite.svg.SVGBuilder
    +
    +
    Permet d'obtenir un resizer ou bien le crée s'il n'existe pas déjà.
    +
    +
    getSize() - Method in class ecoparasite.svg.elements.Text
    +
     
    +
    getText() - Method in class ecoparasite.svg.elements.Text
    +
     
    getTotal() - Method in class ecoparasite.population.Population
     
    getWeight() - Method in class ecoparasite.poisson.Poisson
    @@ -127,12 +171,20 @@ loadScripts(document, 'script');
    getWidth() - Method in class ecoparasite.population.PopulationArgs
     
    +
    getX() - Method in class ecoparasite.representation.ValeursXY
    +
     
    +
    getX() - Method in class ecoparasite.svg.Coordonnees
    +
     
    +
    getY() - Method in class ecoparasite.representation.ValeursXY
    +
     
    +
    getY() - Method in class ecoparasite.svg.Coordonnees
    +
     
    getYear() - Method in class ecoparasite.population.PopulationArgs
     
    getZone() - Method in class ecoparasite.population.PopulationArgs
     
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-8.html b/Doc/index-files/index-8.html index d0317b2..19f118c 100644 --- a/Doc/index-files/index-8.html +++ b/Doc/index-files/index-8.html @@ -1,11 +1,11 @@ - + I-Index - + @@ -50,9 +50,15 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    I

    +
    IncorrectAxesPointsException - Exception Class in ecoparasite.svg
    +
    +
    Exception déclenchée lorsque le format des Axes est incorrect par rapport à ce que la fonction attend.
    +
    +
    IncorrectAxesPointsException() - Constructor for exception class ecoparasite.svg.IncorrectAxesPointsException
    +
     
    InputFactory - Class in ecoparasite.input
    Permet de manipuler les fichiers CSV, de les lire et d'en créer des objets RawData pour ces données brutes.
    @@ -75,7 +81,7 @@ qu'une erreur est survenue durant le parsing d'une donnée.
    Constructeur.
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index-files/index-9.html b/Doc/index-files/index-9.html index a46311e..8b4bf19 100644 --- a/Doc/index-files/index-9.html +++ b/Doc/index-files/index-9.html @@ -1,11 +1,11 @@ - + L-Index - + @@ -50,15 +50,21 @@ loadScripts(document, 'script');

    Index

    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

    L

    -
    LectureEval - Class in ecoparasite
    -
     
    -
    LectureEval() - Constructor for class ecoparasite.LectureEval
    +
    Line - Class in ecoparasite.svg.elements
    +
    +
    Permet de construire une droite/ligne en SVG.
    +
    +
    Line(Coordonnees, Coordonnees) - Constructor for class ecoparasite.svg.elements.Line
     
    +
    Line(Coordonnees, Coordonnees, String, int) - Constructor for class ecoparasite.svg.elements.Line
    +
    +
    Constructeur
    +
    -A B C D E F G I L M N P R S T 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +A B C D E F G I L M N P R S T V 
    All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form diff --git a/Doc/index.html b/Doc/index.html index d4f5b0d..06212af 100644 --- a/Doc/index.html +++ b/Doc/index.html @@ -1,11 +1,11 @@ - + Overview - + @@ -64,6 +64,12 @@ loadScripts(document, 'script');
     
     
    + +
     
    + +
     
    + +
     
    diff --git a/Doc/member-search-index.js b/Doc/member-search-index.js index d3d602b..7bffb89 100644 --- a/Doc/member-search-index.js +++ b/Doc/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"ecoparasite","c":"Application","l":"Application()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite","c":"LectureEval","l":"applyValueForPopEval(PopulationArgs, String, String)","u":"applyValueForPopEval(ecoparasite.population.PopulationArgs,java.lang.String,java.lang.String)","k":"6"},{"p":"ecoparasite.input","c":"InputFactory","l":"buildDataPath(String)","u":"buildDataPath(java.lang.String)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateLinearA(HashSet, Function, Function, double, double)","u":"calculateLinearA(java.util.HashSet,java.util.function.Function,java.util.function.Function,double,double)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateLinearB(double, double, double)","u":"calculateLinearB(double,double,double)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateMean(HashSet, Function)","u":"calculateMean(java.util.HashSet,java.util.function.Function)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"completeColumnsLinear(HashSet, Function, Function, BiConsumer)","u":"completeColumnsLinear(java.util.HashSet,java.util.function.Function,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"completeColumnsMoyenne(HashSet, Function, BiConsumer)","u":"completeColumnsMoyenne(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"Completion()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_MACKEREL","k":"2"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_MERLU","k":"2"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_PARASITES_PERU","k":"2"},{"p":"ecoparasite.poisson","c":"Poisson","l":"fishParts","k":"1"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"fromString(String)","u":"fromString(java.lang.String)","k":"6"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getAbondance()"},{"p":"ecoparasite.input","c":"RawData","l":"getColumnsNames()"},{"p":"ecoparasite.input","c":"RawData","l":"getData()"},{"p":"ecoparasite.input","c":"RawData","l":"getDataFromColumn(String)","u":"getDataFromColumn(java.lang.String)"},{"p":"ecoparasite.input","c":"RawData","l":"getEntry(int)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getFishParts()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getIc()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getId()"},{"p":"ecoparasite.population","c":"Population","l":"getId()"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"getInfestation()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getInfestation()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getIntensity()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getLength()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getLength()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMax()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMean()"},{"p":"ecoparasite.input","c":"InputFileException","l":"getMessage()"},{"p":"ecoparasite.input","c":"RawDataOverflow","l":"getMessage()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMin()"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"getName()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getNumber()"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"getParsingId()"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"getParsingSource()"},{"p":"ecoparasite.population","c":"Population","l":"getPerYear()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getPrevalence()"},{"p":"ecoparasite.population","c":"Population","l":"getTotal()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getWeight()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getWidth()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getYear()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getZone()"},{"p":"ecoparasite.input","c":"InputFactory","l":"InputFactory()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"InputFileException","l":"InputFileException(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"InvalidParsingException(int, String)","u":"%3Cinit%3E(int,java.lang.String)","k":"3"},{"p":"ecoparasite","c":"LectureEval","l":"LectureEval()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"Mackerel(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"MackerelSerra(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"main(String[])","u":"main(java.lang.String[])","k":"6"},{"p":"ecoparasite","c":"LectureEval","l":"main(String[])","u":"main(java.lang.String[])","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"Merlu(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumnsLinear(HashSet, Function, Function, BiConsumer)","u":"nettoieColumnsLinear(java.util.HashSet,java.util.function.Function,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumnsLinear(HashSet, Function, Function, BiConsumer, boolean)","u":"nettoieColumnsLinear(java.util.HashSet,java.util.function.Function,java.util.function.Function,java.util.function.BiConsumer,boolean)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumnsMoyenne(HashSet, Function, BiConsumer)","u":"nettoieColumnsMoyenne(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumnsMoyenne(HashSet, Function, BiConsumer, boolean)","u":"nettoieColumnsMoyenne(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer,boolean)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"Nettoyage()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"DataParsing","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.population","c":"Population","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.input","c":"DataParsing","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.population","c":"Population","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite","c":"LectureEval","l":"parseEval(RawData)","u":"parseEval(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.population","c":"PopulationParsing","l":"parseParasitesPeru(RawData)","u":"parseParasitesPeru(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"PartiePoisson(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"PartiePoisson(String, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double)","k":"3"},{"p":"ecoparasite.poisson","c":"Poisson","l":"Poisson(String, Double, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"Population","l":"Population(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.population","c":"Population","l":"Population(String, PopulationArgs)","u":"%3Cinit%3E(java.lang.String,ecoparasite.population.PopulationArgs)","k":"3"},{"p":"ecoparasite.population","c":"Population","l":"Population(String, PopulationArgs, HashMap)","u":"%3Cinit%3E(java.lang.String,ecoparasite.population.PopulationArgs,java.util.HashMap)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"PopulationArgInterval(Double, Double)","u":"%3Cinit%3E(java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"PopulationArgInterval(Double, Double, Double)","u":"%3Cinit%3E(java.lang.Double,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int)","u":"%3Cinit%3E(int)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int, int, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, Double, Double)","u":"%3Cinit%3E(int,int,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, Double, Double)","u":"%3Cinit%3E(int,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationParsing","l":"PopulationParsing()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"RawData","l":"RawData(ArrayList)","u":"%3Cinit%3E(java.util.ArrayList)","k":"3"},{"p":"ecoparasite.input","c":"RawDataOverflow","l":"RawDataOverflow(int, int)","u":"%3Cinit%3E(int,int)","k":"3"},{"p":"ecoparasite.input","c":"InputFactory","l":"readData(String)","u":"readData(java.lang.String)","k":"6"},{"p":"ecoparasite.input","c":"InputFactory","l":"readData(String, String)","u":"readData(java.lang.String,java.lang.String)","k":"6"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setAbondance(Double)","u":"setAbondance(java.lang.Double)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"setFishParts(HashSet)","u":"setFishParts(java.util.HashSet)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setIc(PopulationArgInterval)","u":"setIc(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"setInfestation(Double)","u":"setInfestation(java.lang.Double)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"setInfestation(Double)","u":"setInfestation(java.lang.Double)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setIntensity(Double)","u":"setIntensity(java.lang.Double)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setLength(PopulationArgInterval)","u":"setLength(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setNumber(int)"},{"p":"ecoparasite.population","c":"Population","l":"setPerYear(HashMap)","u":"setPerYear(java.util.HashMap)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setPrevalence(PopulationArgInterval)","u":"setPrevalence(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.population","c":"Population","l":"setTotal(PopulationArgs)","u":"setTotal(ecoparasite.population.PopulationArgs)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setWidth(PopulationArgInterval)","u":"setWidth(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setZone(String)","u":"setZone(java.lang.String)"},{"p":"ecoparasite.input","c":"RawData","l":"toString()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"toString()"},{"p":"ecoparasite.population","c":"Population","l":"toString()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"toString()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"transformToDouble()"}];updateSearchResults(); \ No newline at end of file +memberSearchIndex = [{"p":"ecoparasite","c":"Application","l":"Application()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"AXES_TEXT_SIZE","k":"2"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildAll(String, String, HashSet, double, double)","u":"buildAll(java.lang.String,java.lang.String,java.util.HashSet,double,double)"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildAxes(String, String)","u":"buildAxes(java.lang.String,java.lang.String)"},{"p":"ecoparasite.input","c":"InputFactory","l":"buildDataPath(String)","u":"buildDataPath(java.lang.String)","k":"6"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildPoints(HashSet)","u":"buildPoints(java.util.HashSet)"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildRegression(double, double)","u":"buildRegression(double,double)"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildXTicks()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"buildYTicks()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"calcPointAxes(HashSet)","u":"calcPointAxes(java.util.HashSet)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateLinearA(HashSet, Function, Function, double, double)","u":"calculateLinearA(java.util.HashSet,java.util.function.Function,java.util.function.Function,double,double)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateLinearB(double, double, double)","u":"calculateLinearB(double,double,double)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"calculateMean(HashSet, Function)","u":"calculateMean(java.util.HashSet,java.util.function.Function)","k":"6"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"Circle(Coordonnees, int)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,int)","k":"3"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"Circle(Coordonnees, int, String)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,int,java.lang.String)","k":"3"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"COLOR_BLACK","k":"2"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"COLOR_BLUE","k":"2"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"COLOR_RED","k":"2"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"COLOR_WHITE","k":"2"},{"p":"ecoparasite.completion","c":"Completion","l":"completeColumnsLinear(HashSet, Function, Function, BiConsumer)","u":"completeColumnsLinear(java.util.HashSet,java.util.function.Function,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"completeColumnsMoyenne(HashSet, Function, BiConsumer)","u":"completeColumnsMoyenne(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.completion","c":"Completion","l":"Completion()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"convertToXY(HashSet, Function, Function)","u":"convertToXY(java.util.HashSet,java.util.function.Function,java.util.function.Function)","k":"6"},{"p":"ecoparasite.svg.elements","c":"Element","l":"coordonnees","k":"1"},{"p":"ecoparasite.svg","c":"Coordonnees","l":"Coordonnees(double, double)","u":"%3Cinit%3E(double,double)","k":"3"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"createFile(String)","u":"createFile(java.lang.String)","k":"6"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"createFile(String, String)","u":"createFile(java.lang.String,java.lang.String)","k":"6"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"createSVG(ArrayList)","u":"createSVG(java.util.ArrayList)","k":"6"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"createSVG(ArrayList, String)","u":"createSVG(java.util.ArrayList,java.lang.String)","k":"6"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"createSVGCode(ArrayList)","u":"createSVGCode(java.util.ArrayList)","k":"6"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_MACKEREL","k":"2"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_MERLU","k":"2"},{"p":"ecoparasite.input","c":"InputFactory","l":"DATA_PARASITES_PERU","k":"2"},{"p":"ecoparasite.svg.elements","c":"Element","l":"Element(Coordonnees)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees)","k":"3"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"ElementsFactory()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.poisson","c":"Poisson","l":"fishParts","k":"1"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"fromString(String)","u":"fromString(java.lang.String)","k":"6"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getAbondance()"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"getColor()"},{"p":"ecoparasite.svg.elements","c":"Line","l":"getColor()"},{"p":"ecoparasite.svg.elements","c":"Text","l":"getColor()"},{"p":"ecoparasite.input","c":"RawData","l":"getColumnsNames()"},{"p":"ecoparasite.svg.elements","c":"Element","l":"getCoordonnees()"},{"p":"ecoparasite.svg.elements","c":"Line","l":"getCoordonneesA()"},{"p":"ecoparasite.svg.elements","c":"Line","l":"getCoordonneesB()"},{"p":"ecoparasite.input","c":"RawData","l":"getData()"},{"p":"ecoparasite.input","c":"RawData","l":"getDataFromColumn(String)","u":"getDataFromColumn(java.lang.String)"},{"p":"ecoparasite.input","c":"RawData","l":"getEntry(int)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getFishParts()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getIc()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getId()"},{"p":"ecoparasite.population","c":"Population","l":"getId()"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"getInfestation()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getInfestation()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getIntensity()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getLength()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getLength()"},{"p":"ecoparasite.completion","c":"Completion","l":"getLinearCoef(HashSet, Function, Function)","u":"getLinearCoef(java.util.HashSet,java.util.function.Function,java.util.function.Function)","k":"6"},{"p":"ecoparasite.svg.elements","c":"Line","l":"getLineWidth()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMax()"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"getMaxX()"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"getMaxY()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMean()"},{"p":"ecoparasite.input","c":"InputFileException","l":"getMessage()"},{"p":"ecoparasite.input","c":"RawDataOverflow","l":"getMessage()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"getMin()"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"getMinX()"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"getMinY()"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"getName()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getNumber()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"getOffsetX()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"getOffsetY()"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"getParsingId()"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"getParsingSource()"},{"p":"ecoparasite.population","c":"Population","l":"getPerYear()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"getPointsX()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"getPointsY()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getPrevalence()"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"getRayon()"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"getResizer()"},{"p":"ecoparasite.svg.elements","c":"Text","l":"getSize()"},{"p":"ecoparasite.svg.elements","c":"Text","l":"getText()"},{"p":"ecoparasite.population","c":"Population","l":"getTotal()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"getWeight()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getWidth()"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"getX()"},{"p":"ecoparasite.svg","c":"Coordonnees","l":"getX()"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"getY()"},{"p":"ecoparasite.svg","c":"Coordonnees","l":"getY()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getYear()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"getZone()"},{"p":"ecoparasite.svg","c":"IncorrectAxesPointsException","l":"IncorrectAxesPointsException()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"InputFactory","l":"InputFactory()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"InputFileException","l":"InputFileException(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.input","c":"InvalidParsingException","l":"InvalidParsingException(int, String)","u":"%3Cinit%3E(int,java.lang.String)","k":"3"},{"p":"ecoparasite.svg.elements","c":"Line","l":"Line(Coordonnees, Coordonnees)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,ecoparasite.svg.Coordonnees)","k":"3"},{"p":"ecoparasite.svg.elements","c":"Line","l":"Line(Coordonnees, Coordonnees, String, int)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,ecoparasite.svg.Coordonnees,java.lang.String,int)","k":"3"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"Mackerel(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"MackerelFile(String)","u":"MackerelFile(java.lang.String)","k":"6"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"MackerelSerra(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"main(String[])","u":"main(java.lang.String[])","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"Merlu(String, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"MerluFile(String)","u":"MerluFile(java.lang.String)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumns(HashSet, Function, BiConsumer)","u":"nettoieColumns(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"nettoieColumns(HashSet, Function, BiConsumer, boolean)","u":"nettoieColumns(java.util.HashSet,java.util.function.Function,java.util.function.BiConsumer,boolean)","k":"6"},{"p":"ecoparasite.nettoyage","c":"Nettoyage","l":"Nettoyage()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"niceStep(double, int)","u":"niceStep(double,int)","k":"6"},{"p":"ecoparasite.input","c":"DataParsing","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.population","c":"Population","l":"parse(RawData)","u":"parse(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.input","c":"DataParsing","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"Mackerel","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"MackerelSerra","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.poisson","c":"Merlu","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.population","c":"Population","l":"parse(RawData, int)","u":"parse(ecoparasite.input.RawData,int)","k":"6"},{"p":"ecoparasite.population","c":"PopulationParsing","l":"parseParasitesPeru(RawData)","u":"parseParasitesPeru(ecoparasite.input.RawData)","k":"6"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"PartiePoisson(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"PartiePoisson(String, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double)","k":"3"},{"p":"ecoparasite.poisson","c":"Poisson","l":"Poisson(String, Double, Double, Double)","u":"%3Cinit%3E(java.lang.String,java.lang.Double,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"PopPeru(String)","u":"PopPeru(java.lang.String)","k":"6"},{"p":"ecoparasite.population","c":"Population","l":"Population(String)","u":"%3Cinit%3E(java.lang.String)","k":"3"},{"p":"ecoparasite.population","c":"Population","l":"Population(String, PopulationArgs)","u":"%3Cinit%3E(java.lang.String,ecoparasite.population.PopulationArgs)","k":"3"},{"p":"ecoparasite.population","c":"Population","l":"Population(String, PopulationArgs, HashMap)","u":"%3Cinit%3E(java.lang.String,ecoparasite.population.PopulationArgs,java.util.HashMap)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"PopulationArgInterval(Double, Double)","u":"%3Cinit%3E(java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"PopulationArgInterval(Double, Double, Double)","u":"%3Cinit%3E(java.lang.Double,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int)","u":"%3Cinit%3E(int)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int, int, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, Double, Double)","u":"%3Cinit%3E(int,int,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"PopulationArgs(int, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, PopulationArgInterval, Double, Double)","u":"%3Cinit%3E(int,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,ecoparasite.population.PopulationArgInterval,java.lang.Double,java.lang.Double)","k":"3"},{"p":"ecoparasite.population","c":"PopulationParsing","l":"PopulationParsing()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.input","c":"RawData","l":"RawData(ArrayList)","u":"%3Cinit%3E(java.util.ArrayList)","k":"3"},{"p":"ecoparasite.input","c":"RawDataOverflow","l":"RawDataOverflow(int, int)","u":"%3Cinit%3E(int,int)","k":"3"},{"p":"ecoparasite.input","c":"InputFactory","l":"readData(String)","u":"readData(java.lang.String)","k":"6"},{"p":"ecoparasite.input","c":"InputFactory","l":"readData(String, String)","u":"readData(java.lang.String,java.lang.String)","k":"6"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"resize(double, double)","u":"resize(double,double)"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"resize(ValeursXY)","u":"resize(ecoparasite.representation.ValeursXY)"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"roundMax(double, double)","u":"roundMax(double,double)","k":"6"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"roundMin(double, double)","u":"roundMin(double,double)","k":"6"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setAbondance(Double)","u":"setAbondance(java.lang.Double)"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"setColor(String)","u":"setColor(java.lang.String)"},{"p":"ecoparasite.svg.elements","c":"Line","l":"setColor(String)","u":"setColor(java.lang.String)"},{"p":"ecoparasite.svg.elements","c":"Text","l":"setColor(String)","u":"setColor(java.lang.String)"},{"p":"ecoparasite.svg.elements","c":"Element","l":"setCoordonnees(Coordonnees)","u":"setCoordonnees(ecoparasite.svg.Coordonnees)"},{"p":"ecoparasite.svg.elements","c":"Element","l":"setCoordonnees(int, int)","u":"setCoordonnees(int,int)"},{"p":"ecoparasite.svg.elements","c":"Line","l":"setCoordonneesA(Coordonnees)","u":"setCoordonneesA(ecoparasite.svg.Coordonnees)"},{"p":"ecoparasite.svg.elements","c":"Line","l":"setCoordonneesB(Coordonnees)","u":"setCoordonneesB(ecoparasite.svg.Coordonnees)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"setFishParts(HashSet)","u":"setFishParts(java.util.HashSet)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setIc(PopulationArgInterval)","u":"setIc(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"setInfestation(Double)","u":"setInfestation(java.lang.Double)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"setInfestation(Double)","u":"setInfestation(java.lang.Double)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setIntensity(Double)","u":"setIntensity(java.lang.Double)"},{"p":"ecoparasite.poisson","c":"Poisson","l":"setLength(Double)","u":"setLength(java.lang.Double)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setLength(PopulationArgInterval)","u":"setLength(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.svg.elements","c":"Line","l":"setLineWidth(int)"},{"p":"ecoparasite.poisson","c":"PartiePoisson","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setNumber(int)"},{"p":"ecoparasite.population","c":"Population","l":"setPerYear(HashMap)","u":"setPerYear(java.util.HashMap)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setPrevalence(PopulationArgInterval)","u":"setPrevalence(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"setRayon(int)"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"setResizer(SVGResizing)","u":"setResizer(ecoparasite.svg.SVGResizing)"},{"p":"ecoparasite.svg.elements","c":"Text","l":"setSize(int)"},{"p":"ecoparasite.svg.elements","c":"Text","l":"setText(String)","u":"setText(java.lang.String)"},{"p":"ecoparasite.population","c":"Population","l":"setTotal(PopulationArgs)","u":"setTotal(ecoparasite.population.PopulationArgs)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setWidth(PopulationArgInterval)","u":"setWidth(ecoparasite.population.PopulationArgInterval)"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"setX(double)"},{"p":"ecoparasite.svg","c":"Coordonnees","l":"setX(double)"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"setY(double)"},{"p":"ecoparasite.svg","c":"Coordonnees","l":"setY(double)"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"setZone(String)","u":"setZone(java.lang.String)"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"SVG_OFFSET","k":"2"},{"p":"ecoparasite.svg.elements","c":"ElementsFactory","l":"SVG_SIZE","k":"2"},{"p":"ecoparasite.svg","c":"SVGBuilder","l":"SVGBuilder(HashMap)","u":"%3Cinit%3E(java.util.HashMap)","k":"3"},{"p":"ecoparasite.svg","c":"SVGFactory","l":"SVGFactory()","u":"%3Cinit%3E()","k":"3"},{"p":"ecoparasite.svg","c":"SVGResizing","l":"SVGResizing(double, double, double, double)","u":"%3Cinit%3E(double,double,double,double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"test2Render(String)","u":"test2Render(java.lang.String)","k":"6"},{"p":"ecoparasite.svg.elements","c":"Text","l":"Text(Coordonnees, String)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,java.lang.String)","k":"3"},{"p":"ecoparasite.svg.elements","c":"Text","l":"Text(Coordonnees, String, String, int)","u":"%3Cinit%3E(ecoparasite.svg.Coordonnees,java.lang.String,java.lang.String,int)","k":"3"},{"p":"ecoparasite.input","c":"RawData","l":"toString()"},{"p":"ecoparasite.poisson","c":"Poisson","l":"toString()"},{"p":"ecoparasite.population","c":"Population","l":"toString()"},{"p":"ecoparasite.population","c":"PopulationArgs","l":"toString()"},{"p":"ecoparasite.svg.elements","c":"Circle","l":"toSVG()"},{"p":"ecoparasite.svg.elements","c":"Element","l":"toSVG()"},{"p":"ecoparasite.svg.elements","c":"Line","l":"toSVG()"},{"p":"ecoparasite.svg.elements","c":"Text","l":"toSVG()"},{"p":"ecoparasite.population","c":"PopulationArgInterval","l":"transformToDouble()"},{"p":"ecoparasite.representation","c":"ValeursXY","l":"ValeursXY(double, double)","u":"%3Cinit%3E(double,double)","k":"3"},{"p":"ecoparasite","c":"Application","l":"validFile()","k":"6"},{"p":"ecoparasite","c":"Application","l":"validFileName(File, HashSet)","u":"validFileName(java.io.File,java.util.HashSet)","k":"6"}];updateSearchResults(); \ No newline at end of file diff --git a/Doc/overview-summary.html b/Doc/overview-summary.html index 1acdfd7..2cf3d31 100644 --- a/Doc/overview-summary.html +++ b/Doc/overview-summary.html @@ -1,11 +1,11 @@ - + Generated Documentation (Untitled) - + diff --git a/Doc/overview-tree.html b/Doc/overview-tree.html index ebe6b6e..450940f 100644 --- a/Doc/overview-tree.html +++ b/Doc/overview-tree.html @@ -1,11 +1,11 @@ - + Class Hierarchy - + @@ -57,7 +57,10 @@ loadScripts(document, 'script');
  • ecoparasite.input,
  • ecoparasite.nettoyage,
  • ecoparasite.poisson,
  • -
  • ecoparasite.population
  • +
  • ecoparasite.population,
  • +
  • ecoparasite.representation,
  • +
  • ecoparasite.svg,
  • +
  • ecoparasite.svg.elements
  • Class Hierarchy

    @@ -66,8 +69,16 @@ loadScripts(document, 'script'); diff --git a/Doc/package-search-index.js b/Doc/package-search-index.js index e280548..b4ca03f 100644 --- a/Doc/package-search-index.js +++ b/Doc/package-search-index.js @@ -1 +1 @@ -packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html","k":"18"},{"l":"ecoparasite"},{"l":"ecoparasite.completion"},{"l":"ecoparasite.input"},{"l":"ecoparasite.nettoyage"},{"l":"ecoparasite.poisson"},{"l":"ecoparasite.population"}];updateSearchResults(); \ No newline at end of file +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html","k":"18"},{"l":"ecoparasite"},{"l":"ecoparasite.completion"},{"l":"ecoparasite.input"},{"l":"ecoparasite.nettoyage"},{"l":"ecoparasite.poisson"},{"l":"ecoparasite.population"},{"l":"ecoparasite.representation"},{"l":"ecoparasite.svg"},{"l":"ecoparasite.svg.elements"}];updateSearchResults(); \ No newline at end of file diff --git a/Doc/search.html b/Doc/search.html index b9c526b..9a2e00e 100644 --- a/Doc/search.html +++ b/Doc/search.html @@ -1,11 +1,11 @@ - + Search - + diff --git a/Doc/serialized-form.html b/Doc/serialized-form.html index c5f4ab9..7e3b890 100644 --- a/Doc/serialized-form.html +++ b/Doc/serialized-form.html @@ -1,11 +1,11 @@ - + Serialized Form - + @@ -125,6 +125,19 @@ loadScripts(document, 'script');
    +
  • +
    +

    Package ecoparasite.svg

    + +
    +
  • diff --git a/Doc/type-search-index.js b/Doc/type-search-index.js index 7312b14..3f7bbe3 100644 --- a/Doc/type-search-index.js +++ b/Doc/type-search-index.js @@ -1 +1 @@ -typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html","k":"18"},{"p":"ecoparasite","l":"Application"},{"p":"ecoparasite.completion","l":"Completion"},{"p":"ecoparasite.input","l":"DataParsing","k":"10"},{"p":"ecoparasite.input","l":"InputFactory"},{"p":"ecoparasite.input","l":"InputFileException","k":"13"},{"p":"ecoparasite.input","l":"InvalidParsingException","k":"13"},{"p":"ecoparasite","l":"LectureEval"},{"p":"ecoparasite.poisson","l":"Mackerel"},{"p":"ecoparasite.poisson","l":"MackerelSerra"},{"p":"ecoparasite.poisson","l":"Merlu"},{"p":"ecoparasite.nettoyage","l":"Nettoyage"},{"p":"ecoparasite.poisson","l":"PartiePoisson"},{"p":"ecoparasite.poisson","l":"Poisson"},{"p":"ecoparasite.population","l":"Population"},{"p":"ecoparasite.population","l":"PopulationArgInterval"},{"p":"ecoparasite.population","l":"PopulationArgs"},{"p":"ecoparasite.population","l":"PopulationParsing"},{"p":"ecoparasite.input","l":"RawData"},{"p":"ecoparasite.input","l":"RawDataOverflow","k":"13"}];updateSearchResults(); \ No newline at end of file +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html","k":"18"},{"p":"ecoparasite","l":"Application"},{"p":"ecoparasite.svg.elements","l":"Circle"},{"p":"ecoparasite.completion","l":"Completion"},{"p":"ecoparasite.svg","l":"Coordonnees"},{"p":"ecoparasite.input","l":"DataParsing","k":"10"},{"p":"ecoparasite.svg.elements","l":"Element"},{"p":"ecoparasite.svg.elements","l":"ElementsFactory"},{"p":"ecoparasite.svg","l":"IncorrectAxesPointsException","k":"13"},{"p":"ecoparasite.input","l":"InputFactory"},{"p":"ecoparasite.input","l":"InputFileException","k":"13"},{"p":"ecoparasite.input","l":"InvalidParsingException","k":"13"},{"p":"ecoparasite.svg.elements","l":"Line"},{"p":"ecoparasite.poisson","l":"Mackerel"},{"p":"ecoparasite.poisson","l":"MackerelSerra"},{"p":"ecoparasite.poisson","l":"Merlu"},{"p":"ecoparasite.nettoyage","l":"Nettoyage"},{"p":"ecoparasite.poisson","l":"PartiePoisson"},{"p":"ecoparasite.poisson","l":"Poisson"},{"p":"ecoparasite.population","l":"Population"},{"p":"ecoparasite.population","l":"PopulationArgInterval"},{"p":"ecoparasite.population","l":"PopulationArgs"},{"p":"ecoparasite.population","l":"PopulationParsing"},{"p":"ecoparasite.input","l":"RawData"},{"p":"ecoparasite.input","l":"RawDataOverflow","k":"13"},{"p":"ecoparasite.svg","l":"SVGBuilder"},{"p":"ecoparasite.svg","l":"SVGFactory"},{"p":"ecoparasite.svg","l":"SVGResizing"},{"p":"ecoparasite.svg.elements","l":"Text"},{"p":"ecoparasite.representation","l":"ValeursXY"}];updateSearchResults(); \ No newline at end of file diff --git a/UML/classes.png b/UML/classes.png index 89b5e01..be03c1f 100644 Binary files a/UML/classes.png and b/UML/classes.png differ diff --git a/UML/classes.puml b/UML/classes.puml index 0a6e614..9607972 100644 --- a/UML/classes.puml +++ b/UML/classes.puml @@ -130,14 +130,11 @@ namespace ecoparasite { + {static} nettoieColumns() } } - - namespace ecoparasite.representation { class ValeursXY { - double x - double y + {static} HashSet convertToXY() } - } namespace ecoparasite.svg { class SVGFactory { @@ -182,9 +179,6 @@ namespace ecoparasite { + {static} roundMax() } - exception IncorrectAxesPointsException { - } - SVGBuilder o--> SVGResizing : - resizer } @@ -223,6 +217,5 @@ namespace ecoparasite { } Exception <|-- InputFileException Exception <|-- RawDataOverflow -Exception <|-- IncorrectAxesPointsException @enduml \ No newline at end of file diff --git a/data/Combinés/ParasitesPeru2021.csv b/data/Combinés/ParasitesPeru2021.csv index 694536b..2c4f5b2 100644 --- a/data/Combinés/ParasitesPeru2021.csv +++ b/data/Combinés/ParasitesPeru2021.csv @@ -3,27 +3,27 @@ Trachurus symmetricus murphyi,N,105,40,30,35 Trachurus symmetricus murphyi,Longueur moyenne ± SD (cm),34.83 ± 2.32,34.5 ± 2.29,35.5 ± 2.3,34.5 ± 2.2 Trachurus symmetricus murphyi,Poids moyen ± SD (g),325.78 ± 54.71,318.5 ± 52.71,341.93 ± 56.28,319.98 ± 52.08 Trachurus symmetricus murphyi,Prévalence (%),64.76,62.5,70,62.86 -Trachurus symmetricus murphyi,IC 95%,55.47-74.05,46.82-78.18,52.60-87.40,46.02-79.70 +Trachurus symmetricus murphyi,IC 95%,55.47 - 74.05,46.82 - 78.18,52.60 - 87.40,46.02 - 79.70 Trachurus symmetricus murphyi,Intensité moyenne (étendue),4.77 (1-10),4.72 (1-10),4.67 (1-9),4.95 (2-10) Trachurus symmetricus murphyi,Abondance moyenne,3.1,2.95,3.27,3.11 Merluccius gayi peruanus,N,85,28,32,25 Merluccius gayi peruanus,Longueur moyenne ± SD (cm),39.17 ± 2.64,38.5 ± 2.17,39.5 ± 1.87,39.3 ± 2.59 Merluccius gayi peruanus,Poids moyen ± SD (g),459.17 ± 95.28,431.02 ± 73.98,465.09 ± 67.51,459.17 ± 92.59 Merluccius gayi peruanus,Prévalence (%),77.65,78.57,75,80 -Merluccius gayi peruanus,IC 95%,68.61-86.69,62.37-94.77,59.14-90.86,63.15-96.85 +Merluccius gayi peruanus,IC 95%,68.61 - 86.69,62.37 - 94.77,59.14 - 90.86,63.15 - 96.85 Merluccius gayi peruanus,Intensité moyenne (étendue),3.7 (1-7),3.86 (1-7),3.83 (1-7),3.35 (2-7) Merluccius gayi peruanus,Abondance moyenne,2.87,3.04,2.88,2.68 Seriolella violacea,N,75,26,24,25 Seriolella violacea,Longueur moyenne ± SD (cm),41 ± 3.89,39 ± 2.58,41.5 ± 2.87,42.5 ± 2.67 Seriolella violacea,Poids moyen ± SD (g),3895 ± 369.97,3705 ± 245.29,3942.5 ± 272.87,4037.5 ± 271.96 Seriolella violacea,Prévalence (%),22.67,26.92,16.67,24 -Seriolella violacea,IC 95%,12.97-32.36,8.65-45.19,0.59-32.74,6.00-41.99 +Seriolella violacea,IC 95%,12.97 - 32.36,8.65 - 45.19,0.59 - 32.74,6.00 - 41.99 Seriolella violacea,Intensité moyenne (étendue),9.88 (1-48),6 (1-10),8.5 (7-10),15.33 (7-48) Seriolella violacea,Abondance moyenne,2.24,1.62,1.42,0 Scomber japonicus peruanus,N,100,37,33,30 Scomber japonicus peruanus,Longueur moyenne ± SD (cm),33 ± 2.74,32.5 ± 2.31,32.5 ± 1.71,33.5 ± 2.05 Scomber japonicus peruanus,Poids moyen ± SD (g),315.58 ± 84.15,309.18 ± 62.42,308.68 ± 46.46,336.98 ± 64.81 Scomber japonicus peruanus,Prévalence (%),45,48.65,45.45,40 -Scomber japonicus peruanus,IC 95%,35.08-54.92,31.75-65.54,27.52-63.38,21.39-58.61 +Scomber japonicus peruanus,IC 95%,35.08 - 54.92,31.75 - 65.54,27.52 - 63.38,21.39 - 58.61 Scomber japonicus peruanus,Intensité moyenne (étendue),4.91 (1-9),4.72 (1-9),4.87 (2-8),5.25 (2-9) Scomber japonicus peruanus,Abondance moyenne,2.21,2.3,2.21,2.1 diff --git a/src/ecoparasite/Application.java b/src/ecoparasite/Application.java index 27a1169..3bfb496 100644 --- a/src/ecoparasite/Application.java +++ b/src/ecoparasite/Application.java @@ -6,25 +6,220 @@ import ecoparasite.input.InputFileException; import ecoparasite.input.RawData; import ecoparasite.input.RawDataOverflow; import ecoparasite.nettoyage.Nettoyage; +import ecoparasite.poisson.Mackerel; import ecoparasite.poisson.MackerelSerra; +import ecoparasite.poisson.Merlu; import ecoparasite.poisson.Poisson; +import ecoparasite.population.Population; +import ecoparasite.population.PopulationArgInterval; +import ecoparasite.population.PopulationParsing; import ecoparasite.representation.ValeursXY; import ecoparasite.svg.IncorrectAxesPointsException; import ecoparasite.svg.SVGBuilder; import ecoparasite.svg.SVGFactory; import ecoparasite.svg.elements.Element; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; +import java.io.File; +import java.util.*; import java.util.function.BiConsumer; import java.util.function.Function; public class Application { - public static void main(String[] args) throws InputFileException, RawDataOverflow { + static final String[] VALID_FILES = {"Campagne/mackerel.97442.csv", "Campagne/merlu2018_75164.csv","Combinés/ParasitesPeru2021.csv", "test2.csv"}; - RawData rawMackerel = InputFactory.readData("test2.csv", ","); + public static void validFileName(File dir, HashSet listeName){ + + File[] liste = dir.listFiles(); + + for (File item : liste) { + if (!item.isDirectory()){ + listeName.add(item.getName()); + } else { + validFileName(new File(dir.getName()+ "/" + item.getName()), listeName); + } + } + + } + + public static String validFile(){ + + Scanner sc = new Scanner(System.in); + String name = ""; + boolean isValid = false; + + /* + File dir = new File("data"); + + HashSet listeName = new HashSet<>(); + + Application.validFileName(dir,listeName); + */ + + System.out.println( "Liste des fichiers valides:" ); + for (String validFile : VALID_FILES) { + System.out.print(validFile + " "); + } + System.out.println(); + + while (!isValid) { + System.out.println("Veuillez rentrez le nom du fichier :"); + name = sc.nextLine(); + + for (int i = 0; i < VALID_FILES.length; i++) { + if (name.contains(VALID_FILES[i])){ + isValid = true; + break; + } + } + } + + return name; + } + + public static void MackerelFile(String name) throws InputFileException, RawDataOverflow { + + RawData rawMackerel = InputFactory.readData(name); + + HashSet mackerelSet = Mackerel.parse(rawMackerel); + + System.out.println( "Avant le nettoyage et complétion"); + System.out.println( mackerelSet ); + + Function getLength = Poisson::getLength; + Function getInfes = Poisson::getInfestation; + BiConsumer setInfes = Poisson::setInfestation; + + mackerelSet = Nettoyage.nettoieColumns( mackerelSet, getInfes, setInfes, false ); + mackerelSet = Completion.completeColumnsLinear( mackerelSet, getLength, getInfes, setInfes ); + + System.out.println( "Après le nettoyage et complétion"); + System.out.println( mackerelSet ); + + HashSet mackerelXY = ValeursXY.convertToXY( mackerelSet, getLength, getInfes ); + HashMap> axes = SVGBuilder.calcPointAxes( mackerelXY ); + System.out.println( axes ); + + SVGBuilder axesInstance; + try { + axesInstance = new SVGBuilder(axes); + } catch (IncorrectAxesPointsException e) { + System.out.println( "Mauvais format communiqué" ); + return; + } + + // Sauvegarde pour plus tard. + double[] ABCoef = Completion.getLinearCoef(mackerelSet, getLength, getInfes); + + ArrayList SVGElements = axesInstance.buildAll( "Length (mm)", "Taux d'infestation", mackerelXY, ABCoef[0], ABCoef[1] ); + SVGFactory.createSVG( SVGElements ); + } + + public static void MerluFile(String name) throws InputFileException, RawDataOverflow { + + RawData rawMerlu = InputFactory.readData(name); + + HashSet merluSet = Merlu.parse(rawMerlu); + + System.out.println( "Avant le nettoyage et complétion"); + System.out.println( merluSet ); + + Function getLength = Poisson::getLength; + Function getInfes = Poisson::getInfestation; + BiConsumer setInfes = Poisson::setInfestation; + + merluSet = Nettoyage.nettoieColumns( merluSet, getInfes, setInfes, false ); + merluSet = Completion.completeColumnsLinear( merluSet, getLength, getInfes, setInfes ); + + System.out.println( "Après le nettoyage et complétion"); + System.out.println( merluSet ); + + HashSet merluXY = ValeursXY.convertToXY( merluSet, getLength, getInfes ); + HashMap> axes = SVGBuilder.calcPointAxes( merluXY ); + System.out.println( axes ); + + SVGBuilder axesInstance; + try { + axesInstance = new SVGBuilder(axes); + } catch (IncorrectAxesPointsException e) { + System.out.println( "Mauvais format communiqué" ); + return; + } + + // Sauvegarde pour plus tard. + double[] ABCoef = Completion.getLinearCoef(merluSet, getLength, getInfes); + + ArrayList SVGElements = axesInstance.buildAll( "Length (mm)", "Taux d'infestation", merluXY, ABCoef[0], ABCoef[1] ); + SVGFactory.createSVG( SVGElements ); + } + + public static void PopPeru(String name) throws InputFileException,RawDataOverflow{ + + RawData popRaw; int index; + try { + popRaw = InputFactory.readData(name , "," ); + } catch(InputFileException e) { + System.out.println(e.getMessage()); + return; + } + + HashSet popSet = PopulationParsing.parseParasitesPeru(popRaw); + + index = 1; + System.out.println( "Avant complétion et nettoyage de la masse" ); + for( Population p: popSet){ + System.out.println(String.valueOf(index++) + p); + } + + // Nettoyage de la taille. + Function getLength = population -> { + return population.getTotal().getLength() != null ? population.getTotal().getLength().transformToDouble() : null; + }; + BiConsumer setLength = (population, aDouble) -> { + population.getTotal().setLength(aDouble != null ? new PopulationArgInterval(aDouble,aDouble) : null); + }; + + Function getInfes = population -> { + return population.getTotal().getAbondance() != null ? population.getTotal().getAbondance() : null; + }; + + popSet = Nettoyage.nettoieColumns(popSet, getLength, setLength, false); + System.out.println("Après nettoyage de la masse"); + index = 1; + for( Population p: popSet){ + System.out.println(String.valueOf(index++) + p); + } + + // Complétion de la masse. + popSet = Completion.completeColumnsMoyenne(popSet, getLength, setLength); + System.out.println("Après complétion de la masse"); + + index = 1; + for( Population p: popSet){ + System.out.println(String.valueOf(index++) + p); + } + + HashSet popXY = ValeursXY.convertToXY( popSet, getLength, getInfes ); + HashMap> axes = SVGBuilder.calcPointAxes( popXY ); + System.out.println( axes ); + + SVGBuilder axesInstance; + try { + axesInstance = new SVGBuilder(axes); + } catch (IncorrectAxesPointsException e) { + System.out.println( "Mauvais format communiqué" ); + return; + } + + double[] ABCoef = Completion.getLinearCoef(popSet, getLength, getInfes); + + ArrayList elements = axesInstance.buildAll( "Taille en mm", "Abondance", popXY, ABCoef[0], ABCoef[1] ); + SVGFactory.createSVG(elements); + } + + public static void test2Render(String name) throws InputFileException,RawDataOverflow{ + + RawData rawMackerel = InputFactory.readData(name, ","); HashSet mackerelSet = MackerelSerra.parse(rawMackerel); @@ -67,4 +262,26 @@ public class Application { SVGFactory.createSVG( SVGElements ); } + + public static void main(String[] args) { + + String nameFile = Application.validFile(); + + try { + if (nameFile.contains("mackerel")) { + MackerelFile(nameFile); + } else if (nameFile.contains("merlu")) { + MerluFile(nameFile); + } else if (nameFile.contains("Peru")) { + PopPeru(nameFile); + } else if (nameFile.contains("test2")) { + test2Render(nameFile); + } + } catch ( InputFileException e ){ + System.out.println( e.getMessage() ); + } catch ( RawDataOverflow e ){ + System.out.println( e.getMessage() ); + } + + } } \ No newline at end of file diff --git a/src/ecoparasite/completion/Completion.java b/src/ecoparasite/completion/Completion.java index 4067f0f..ac0f6c7 100644 --- a/src/ecoparasite/completion/Completion.java +++ b/src/ecoparasite/completion/Completion.java @@ -1,14 +1,6 @@ package ecoparasite.completion; -import ecoparasite.input.InputFactory; -import ecoparasite.input.InputFileException; -import ecoparasite.input.RawData; -import ecoparasite.input.RawDataOverflow; -import ecoparasite.poisson.Mackerel; -import ecoparasite.poisson.Poisson; - import java.util.HashSet; -import java.util.concurrent.Callable; import java.util.function.*; /** diff --git a/src/ecoparasite/input/DataParsing.java b/src/ecoparasite/input/DataParsing.java index dc6a0de..fc40cc4 100644 --- a/src/ecoparasite/input/DataParsing.java +++ b/src/ecoparasite/input/DataParsing.java @@ -1,7 +1,5 @@ package ecoparasite.input; -import ecoparasite.poisson.Poisson; - import java.util.HashSet; /** diff --git a/src/ecoparasite/input/InputFactory.java b/src/ecoparasite/input/InputFactory.java index b188261..c451adb 100644 --- a/src/ecoparasite/input/InputFactory.java +++ b/src/ecoparasite/input/InputFactory.java @@ -2,14 +2,11 @@ package ecoparasite.input; import java.io.BufferedReader; import java.io.IOException; -import java.lang.reflect.Array; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; /** * Permet de manipuler les fichiers CSV, de les lire et d'en créer des objets RawData pour ces données brutes. diff --git a/src/ecoparasite/nettoyage/Nettoyage.java b/src/ecoparasite/nettoyage/Nettoyage.java index 058a903..ee76cca 100644 --- a/src/ecoparasite/nettoyage/Nettoyage.java +++ b/src/ecoparasite/nettoyage/Nettoyage.java @@ -1,8 +1,5 @@ package ecoparasite.nettoyage; -import ecoparasite.completion.Completion; -import ecoparasite.poisson.Poisson; - import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; @@ -40,7 +37,7 @@ public class Nettoyage { int quartIndex = array.size()/4; Double firstQuart = array.get(quartIndex); Double thirdQuart = array.get(quartIndex *3); - Double IQR = thirdQuart - firstQuart; + double IQR = thirdQuart - firstQuart; for(T item : list){ if( getValue.apply(item) == null || getValue.apply(item).doubleValue() < firstQuart - (IQR * 1.5) || getValue.apply(item).doubleValue() > thirdQuart + (IQR * 1.5) || ( !allowNegative && getValue.apply(item).doubleValue() < 0 ) ){ diff --git a/src/ecoparasite/population/Population.java b/src/ecoparasite/population/Population.java index 6fc7b01..d42ea60 100644 --- a/src/ecoparasite/population/Population.java +++ b/src/ecoparasite/population/Population.java @@ -98,7 +98,7 @@ public class Population implements DataParsing { public static HashSet parse(RawData data, int parseTypeId ) throws RawDataOverflow, InvalidParsingException { switch (parseTypeId) { case 1: - return PopulationParsing.parseParasitesPeru(data); + return PopulationParsing.parseParasitesPeru(data); // Parsing de la population du fichier ParasitesPeru2021.csv default: throw new InvalidParsingException(parseTypeId, Population.class.getSimpleName() ); } diff --git a/src/ecoparasite/svg/SVGFactory.java b/src/ecoparasite/svg/SVGFactory.java index d3615cd..2e8ce39 100644 --- a/src/ecoparasite/svg/SVGFactory.java +++ b/src/ecoparasite/svg/SVGFactory.java @@ -1,15 +1,11 @@ package ecoparasite.svg; -import ecoparasite.representation.ValeursXY; import ecoparasite.svg.elements.Element; import ecoparasite.svg.elements.ElementsFactory; -import javax.lang.model.util.ElementScanner14; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; import java.util.UUID; public class SVGFactory { @@ -101,7 +97,7 @@ public class SVGFactory { // close the writer writer.close(); - System.out.println("Successfully wrote text to file."); + System.out.println("Successfully wrote text to file (" + filename + ")" ); } diff --git a/src/ecoparasite/svg/elements/ElementsFactory.java b/src/ecoparasite/svg/elements/ElementsFactory.java index 200366b..f0c7d40 100644 --- a/src/ecoparasite/svg/elements/ElementsFactory.java +++ b/src/ecoparasite/svg/elements/ElementsFactory.java @@ -1,10 +1,5 @@ package ecoparasite.svg.elements; -import ecoparasite.svg.Coordonnees; - -import java.util.ArrayList; -import java.util.HashSet; - /** * Contient divers éléments utiles pour les fichiers SVG. */ diff --git a/tests/ecoparasite/completion/CompletionTest.java b/tests/ecoparasite/completion/CompletionTest.java index 683d497..16527fd 100644 --- a/tests/ecoparasite/completion/CompletionTest.java +++ b/tests/ecoparasite/completion/CompletionTest.java @@ -7,14 +7,11 @@ import ecoparasite.input.RawDataOverflow; import ecoparasite.nettoyage.Nettoyage; import ecoparasite.poisson.Mackerel; import ecoparasite.poisson.Poisson; -import org.junit.jupiter.api.Test; import java.util.HashSet; import java.util.function.BiConsumer; import java.util.function.Function; -import static org.junit.jupiter.api.Assertions.*; - class CompletionTest { @org.junit.jupiter.api.Test diff --git a/tests/ecoparasite/input/InputFactoryTest.java b/tests/ecoparasite/input/InputFactoryTest.java index 87dd2d6..7e59211 100644 --- a/tests/ecoparasite/input/InputFactoryTest.java +++ b/tests/ecoparasite/input/InputFactoryTest.java @@ -1,12 +1,10 @@ package ecoparasite.input; -import static ecoparasite.input.InputFactory.*; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import ecoparasite.input.InputFactory; import ecoparasite.input.InputFileException; import ecoparasite.input.RawData; -import org.junit.jupiter.api.Test; class InputFactoryTest { diff --git a/tests/ecoparasite/nettoyage/NettoyageTest.java b/tests/ecoparasite/nettoyage/NettoyageTest.java index f4695d4..1f94bd7 100644 --- a/tests/ecoparasite/nettoyage/NettoyageTest.java +++ b/tests/ecoparasite/nettoyage/NettoyageTest.java @@ -5,10 +5,8 @@ import ecoparasite.input.InputFactory; import ecoparasite.input.InputFileException; import ecoparasite.input.RawData; import ecoparasite.input.RawDataOverflow; -import ecoparasite.poisson.Mackerel; import ecoparasite.poisson.MackerelSerra; import ecoparasite.poisson.Poisson; -import org.junit.jupiter.api.Test; import java.util.HashSet; import java.util.function.BiConsumer; @@ -32,7 +30,7 @@ class NettoyageTest { System.out.println(testp); - testp = Nettoyage.nettoieColumnsMoyenne( testp, getInfes, setInfes ); + testp = Nettoyage.nettoieColumns( testp, getInfes, setInfes ); System.out.println(testp); } diff --git a/tests/ecoparasite/poisson/MerluTest.java b/tests/ecoparasite/poisson/MerluTest.java index 79545d8..108fab5 100644 --- a/tests/ecoparasite/poisson/MerluTest.java +++ b/tests/ecoparasite/poisson/MerluTest.java @@ -8,8 +8,6 @@ import org.junit.jupiter.api.Test; import java.util.HashSet; -import static org.junit.jupiter.api.Assertions.*; - class MerluTest { @Test diff --git a/tests/ecoparasite/population/PopulationParsingTest.java b/tests/ecoparasite/population/PopulationParsingTest.java index 0b7a904..d6d7452 100644 --- a/tests/ecoparasite/population/PopulationParsingTest.java +++ b/tests/ecoparasite/population/PopulationParsingTest.java @@ -8,8 +8,6 @@ import org.junit.jupiter.api.Test; import java.util.HashSet; -import static org.junit.jupiter.api.Assertions.*; - class PopulationParsingTest { @Test diff --git a/tests/ecoparasite/svg/SVGFactoryTest.java b/tests/ecoparasite/svg/SVGFactoryTest.java index 73fe99b..7fb2ce1 100644 --- a/tests/ecoparasite/svg/SVGFactoryTest.java +++ b/tests/ecoparasite/svg/SVGFactoryTest.java @@ -1,15 +1,20 @@ package ecoparasite.svg; +import ecoparasite.svg.elements.Element; import ecoparasite.svg.elements.ElementsFactory; +import ecoparasite.svg.elements.Text; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; +import java.util.ArrayList; class SVGFactoryTest { @Test - public void generateSVGAxes(){ - // SVGFactory.createSVG( ElementsFactory.SVGAxes() ); + void generateTestSVG(){ + Element t = new Text( new Coordonnees(100,100), "Ceci est un test", ElementsFactory.COLOR_BLACK, 48 ); + ArrayList elements = new ArrayList<>(); + elements.add(t); + SVGFactory.createSVG( elements, "test" ); } } \ No newline at end of file