\hypertarget{general_8hpp}{}\doxysection{general.\+hpp File Reference}
\label{general_8hpp}\index{general.hpp@{general.hpp}}


Liste des variables globales constantes.  


{\ttfamily \#include $<$iostream$>$}\newline
{\ttfamily \#include $<$list$>$}\newline
{\ttfamily \#include $<$ctime$>$}\newline
{\ttfamily \#include $<$cstdlib$>$}\newline
{\ttfamily \#include $<$cmath$>$}\newline
Include dependency graph for general.\+hpp\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{general_8hpp__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{general_8hpp__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{general_8hpp_af2f9f4bebc177281e00f55ebff198d52}{Paysage\+Case}} \{ \newline
{\bfseries PLAT} = 1
, {\bfseries HERBE} = 2
, {\bfseries ROCHER} = 4
, {\bfseries EAU} = 8
, \newline
{\bfseries IMPRATICABLE} = -\/1
 \}
\item 
\mbox{\Hypertarget{general_8hpp_a2a6bd27a772078ed95014aa6b73c89c4}\label{general_8hpp_a2a6bd27a772078ed95014aa6b73c89c4}} 
enum {\bfseries Type\+Pheromone} \{ {\bfseries ALERTE}
, {\bfseries BOUFFE}
, {\bfseries FOURMILLIERE}
 \}
\item 
\mbox{\Hypertarget{general_8hpp_a1a23086584009e3e226ffc6b684b0018}\label{general_8hpp_a1a23086584009e3e226ffc6b684b0018}} 
enum {\bfseries Decision\+Fourmi} \{ \newline
{\bfseries ERREURDECISIONELLE}
, {\bfseries RIEN}
, {\bfseries ENTRERDANSFOURMILLIERE}
, {\bfseries SORTIRDEFOURMILLIERE}
, \newline
{\bfseries RAMASSERDELABOUFFE}
, {\bfseries ALLERHAUTGAUCHE}
, {\bfseries ALLERHAUTDROIT}
, {\bfseries ALLERMILIEUDROITE}
, \newline
{\bfseries ALLERBASDROITE}
, {\bfseries ALLERBASGAUCHE}
, {\bfseries ALLERMILIEUGAUCHE}
 \}
\item 
\mbox{\Hypertarget{general_8hpp_a9bb05bbe058023e9a84d839c984cb474}\label{general_8hpp_a9bb05bbe058023e9a84d839c984cb474}} 
enum {\bfseries Cout\+En\+Bouffe\+Decision\+Fourmi} \{ {\bfseries RESTERINACTIVE} = 1
, {\bfseries ENTREEOUSORTIEFOURMILLIERE} = 1
, {\bfseries RAMASSERBOUFFE} = 2
, {\bfseries BOUGERDE1\+PA} = 3
 \}
\item 
\mbox{\Hypertarget{general_8hpp_a224b9163917ac32fc95a60d8c1eec3aa}\label{general_8hpp_a224b9163917ac32fc95a60d8c1eec3aa}} 
enum {\bfseries Direction} \{ \newline
{\bfseries HAUTGAUCHE}
, {\bfseries HAUTDROIT}
, {\bfseries MILIEUDROITE}
, {\bfseries BASDROITE}
, \newline
{\bfseries BASGAUCHE}
, {\bfseries MILIEUGAUCHE}
 \}
\item 
\mbox{\Hypertarget{general_8hpp_a7586d291ceda36b1abf87b4009c6ad71}\label{general_8hpp_a7586d291ceda36b1abf87b4009c6ad71}} 
enum {\bfseries Etat\+Fourmilliere} \{ \newline
{\bfseries INCROYABLEGOPONDRE}
, {\bfseries TOUTVABIEN}
, {\bfseries FAMINE}
, {\bfseries URGENCEFAMINE}
, \newline
{\bfseries SURVIEULTIME}
, {\bfseries REINEMORTE}
 \}
\item 
enum \mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09}{Etat\+Fourmi}} \{ \newline
\mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7d519a354eaef652a9f8bedcc0c6c132}{ATTENDRE}}
, \mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7c6f2b5f7f26a2badf2ff46443384b17}{CHERCHERBOUFFE}}
, \mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09a350399cf3db8776ad19209650b0209d1}{RAMENERBOUFFE}}
, \mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09a4c6dc882c890f85f25351ac2d9ea5c9c}{ALERTED}}
, \newline
\mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09a5dfb36109b24f39d54d5c3f48f53def8}{ZOMBIE}}
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{general_8hpp_ab2b6b0c222cd1ce70d6a831f57241e59}\label{general_8hpp_ab2b6b0c222cd1ce70d6a831f57241e59}} 
const int {\bfseries N} = 624
\item 
\mbox{\Hypertarget{general_8hpp_a9edc6895d567e0ddcdd3cc20df3f3b4b}\label{general_8hpp_a9edc6895d567e0ddcdd3cc20df3f3b4b}} 
const int {\bfseries M} = 397
\item 
\mbox{\Hypertarget{general_8hpp_ae0af6d4557d17c206cfe2a2642b8d7c4}\label{general_8hpp_ae0af6d4557d17c206cfe2a2642b8d7c4}} 
const long unsigned int {\bfseries MATRIX\+\_\+A} = 0x9908b0df\+UL
\item 
\mbox{\Hypertarget{general_8hpp_aca10fa01df98eac557f454dbe9e029c7}\label{general_8hpp_aca10fa01df98eac557f454dbe9e029c7}} 
const int {\bfseries UPPER\+\_\+\+MASK} = 0x80000000\+UL
\item 
\mbox{\Hypertarget{general_8hpp_a31b7029eab96eb1853342942ee822021}\label{general_8hpp_a31b7029eab96eb1853342942ee822021}} 
const int {\bfseries LOWER\+\_\+\+MASK} = 0x7fffffff\+UL
\item 
\mbox{\Hypertarget{general_8hpp_aeb19417667a08e28bb14697046f97270}\label{general_8hpp_aeb19417667a08e28bb14697046f97270}} 
const bool {\bfseries AFFICHERINFOSDEVELOPPEUR} = false
\item 
\mbox{\Hypertarget{general_8hpp_a52e0828a851b6da163de09e79184c5f0}\label{general_8hpp_a52e0828a851b6da163de09e79184c5f0}} 
const int {\bfseries NBRMAXTOURS} = 120
\item 
\mbox{\Hypertarget{general_8hpp_a8dcb0478fcc952e7894bcf16baeb0cd2}\label{general_8hpp_a8dcb0478fcc952e7894bcf16baeb0cd2}} 
const int {\bfseries LONGUEURMAP} = 25
\item 
\mbox{\Hypertarget{general_8hpp_a0da4e64dd2ef3decf90d181997372c88}\label{general_8hpp_a0da4e64dd2ef3decf90d181997372c88}} 
const int {\bfseries LARGEURMAP} = 25
\item 
\mbox{\Hypertarget{general_8hpp_a307057d60ae79f859b784d33481f579c}\label{general_8hpp_a307057d60ae79f859b784d33481f579c}} 
const int {\bfseries NBRTYPESPHEROMONES} = 3
\item 
\mbox{\Hypertarget{general_8hpp_a7336a96f217cf288696d69074726156a}\label{general_8hpp_a7336a96f217cf288696d69074726156a}} 
const int {\bfseries NBRCASESVOISINES} = 6
\item 
\mbox{\Hypertarget{general_8hpp_a9733480e952328da89378afb8f6d6e7c}\label{general_8hpp_a9733480e952328da89378afb8f6d6e7c}} 
const int {\bfseries AGEMAXPHEROMONE} = 13
\item 
\mbox{\Hypertarget{general_8hpp_a1cecc991f0af6e56eaf89d8aa2609650}\label{general_8hpp_a1cecc991f0af6e56eaf89d8aa2609650}} 
const int {\bfseries STARTERPACKDEBOUFFEFOURMILLIERE} = 10000
\item 
\mbox{\Hypertarget{general_8hpp_a32e73148915739952298adf6e3297570}\label{general_8hpp_a32e73148915739952298adf6e3297570}} 
const int {\bfseries QUANTITYBOUFFERECHARGEMENTMAP} = 00
\item 
\mbox{\Hypertarget{general_8hpp_a96f733cc01c1645247fcb838b9c101e6}\label{general_8hpp_a96f733cc01c1645247fcb838b9c101e6}} 
const int {\bfseries MINIMUMDECASESRECHARGED} = 5
\item 
\mbox{\Hypertarget{general_8hpp_a9cd30955e0b9d1e626e589446026b27a}\label{general_8hpp_a9cd30955e0b9d1e626e589446026b27a}} 
const int {\bfseries NBRFOURMILLIERES} = 6
\item 
\mbox{\Hypertarget{general_8hpp_a28033e21ef3b5f680585d6380707da2f}\label{general_8hpp_a28033e21ef3b5f680585d6380707da2f}} 
const int {\bfseries NBRMAXFOURMISPARFOURMILLIERE} = 500
\item 
\mbox{\Hypertarget{general_8hpp_a5d2280b09dd96bb23f6edbd05a21bf77}\label{general_8hpp_a5d2280b09dd96bb23f6edbd05a21bf77}} 
const int {\bfseries NBRMAXFOURMISPARCASE} = 20
\item 
\mbox{\Hypertarget{general_8hpp_a8f557df073f017ce8f159bbb403720e0}\label{general_8hpp_a8f557df073f017ce8f159bbb403720e0}} 
const int {\bfseries NBRPAFOURMI} = 5
\item 
\mbox{\Hypertarget{general_8hpp_a3e89e78066428bc7cfdecdcae9f35348}\label{general_8hpp_a3e89e78066428bc7cfdecdcae9f35348}} 
const int {\bfseries BONUSNBRPAFOURMIDOPED} = 5
\item 
\mbox{\Hypertarget{general_8hpp_ae46f78317f9cd7ab83e6206e5abd03f4}\label{general_8hpp_ae46f78317f9cd7ab83e6206e5abd03f4}} 
const int {\bfseries MINIMUMPAOCTROYED} = 1
\item 
\mbox{\Hypertarget{general_8hpp_ae5fda259813f7741c53d17fb2658812b}\label{general_8hpp_ae5fda259813f7741c53d17fb2658812b}} 
const int {\bfseries RECUPJAUGEDEFATIGUE} = 20
\item 
\mbox{\Hypertarget{general_8hpp_a972973a1825e5fd9ee8d3bcab528ee4c}\label{general_8hpp_a972973a1825e5fd9ee8d3bcab528ee4c}} 
const int {\bfseries PALLIERMALUSFATIGUE} = 10
\item 
\mbox{\Hypertarget{general_8hpp_a549523366863e2543e3364fc9764c3c8}\label{general_8hpp_a549523366863e2543e3364fc9764c3c8}} 
const double {\bfseries PROBACHERCHERBOUFFEQUANDFATIGUATEDETINCROYABLEGOPONDRE} = 0.\+1
\item 
\mbox{\Hypertarget{general_8hpp_add142372a1c77254a84025b6847e7b96}\label{general_8hpp_add142372a1c77254a84025b6847e7b96}} 
const double {\bfseries PROBACHERCHERBOUFFEQUANDFATIGUATEDETTOUTVABIEN} = 0.\+3
\item 
\mbox{\Hypertarget{general_8hpp_ae7022fd5a10da6ca2dd99d5521c581ab}\label{general_8hpp_ae7022fd5a10da6ca2dd99d5521c581ab}} 
const double {\bfseries PROBACHERCHERBOUFFEQUANDFATIGUATEDETFAMINE} = 0.\+6
\item 
\mbox{\Hypertarget{general_8hpp_add0e1b2e96c6c2febb61891fbb05fcba}\label{general_8hpp_add0e1b2e96c6c2febb61891fbb05fcba}} 
const float {\bfseries MINJABOTSOCIALLEVELTROPHALLAXIEDONNANTE} = 0.\+4
\item 
\mbox{\Hypertarget{general_8hpp_abcc4d85f041aeb29bb323c8ce42e8bb4}\label{general_8hpp_abcc4d85f041aeb29bb323c8ce42e8bb4}} 
const float {\bfseries MAXJABOTSOCIALLEVELTROPHALLAXIERECEVANTE} = 0.\+10
\item 
\mbox{\Hypertarget{general_8hpp_a13d6f6a62ab5e796472aab2b59b3413d}\label{general_8hpp_a13d6f6a62ab5e796472aab2b59b3413d}} 
const float {\bfseries COEFNIVEAUJABOTSOCIALDEMITOUR} = 0.\+5
\item 
\mbox{\Hypertarget{general_8hpp_a9254f44012b3eac597ddb796a30be10a}\label{general_8hpp_a9254f44012b3eac597ddb796a30be10a}} 
const float {\bfseries COEFREDUCTIONDELTAJABOTSOCIALAPRESTROPHALLAXIE} = 0.\+5
\item 
\mbox{\Hypertarget{general_8hpp_a98f1eaa28b23ec9abe1794ce32a497fa}\label{general_8hpp_a98f1eaa28b23ec9abe1794ce32a497fa}} 
const int {\bfseries MAXCARRYLEVELFOURMI} = 2000
\item 
\mbox{\Hypertarget{general_8hpp_a8ac60e2642ecf7d29f143dceb79e3152}\label{general_8hpp_a8ac60e2642ecf7d29f143dceb79e3152}} 
const int {\bfseries MAXJABOTSOCIALLEVELFOURMI} = 200
\item 
\mbox{\Hypertarget{general_8hpp_a732f9a41714314722c8d2f5a8a3410bc}\label{general_8hpp_a732f9a41714314722c8d2f5a8a3410bc}} 
const int {\bfseries AGEMAXFOURMIS} = 100
\item 
\mbox{\Hypertarget{general_8hpp_a6ad2907c822be63d42f35117bd1c5144}\label{general_8hpp_a6ad2907c822be63d42f35117bd1c5144}} 
const float {\bfseries PROBASURVIE} = powf(0.\+5, 1.\+0/(AGEMAXFOURMIS $\ast$ NBRPAFOURMI))
\item 
\mbox{\Hypertarget{general_8hpp_a38ea82277a22b2a3e28acc42ca0fcbac}\label{general_8hpp_a38ea82277a22b2a3e28acc42ca0fcbac}} 
const double {\bfseries COEFDURABILITEPROPAGATIONALERTE} = 0.\+04
\item 
\mbox{\Hypertarget{general_8hpp_ab961b99851dd215ef424bd3960f0ba4c}\label{general_8hpp_ab961b99851dd215ef424bd3960f0ba4c}} 
const int {\bfseries BOUFFEPOURNOURRIRREINE} = 50
\item 
\mbox{\Hypertarget{general_8hpp_ad179095d1882a0f9b0e0145e9dff4899}\label{general_8hpp_ad179095d1882a0f9b0e0145e9dff4899}} 
const int {\bfseries BOUFFEPOURPONDREFOURMI} = 100
\item 
\mbox{\Hypertarget{general_8hpp_a887ad9839f400fcbc672271d693ae6f3}\label{general_8hpp_a887ad9839f400fcbc672271d693ae6f3}} 
const int {\bfseries NIVEAUBOUFFEPARFOURMILOYALEPONTE} = MAXJABOTSOCIALLEVELFOURMI
\item 
\mbox{\Hypertarget{general_8hpp_a5fb3ca04cc648eb62889755e1a6c2122}\label{general_8hpp_a5fb3ca04cc648eb62889755e1a6c2122}} 
const int {\bfseries NIVEAUBOUFFEPARFOURMILOYALEFAMINE} = 50
\item 
\mbox{\Hypertarget{general_8hpp_a67fb2b62839a54bc968838e938451695}\label{general_8hpp_a67fb2b62839a54bc968838e938451695}} 
const int {\bfseries NBRTOURSSURVIEULTIMEREINE} = 5
\item 
\mbox{\Hypertarget{general_8hpp_a97b11cd74cbce85db58c071adfe9fa5a}\label{general_8hpp_a97b11cd74cbce85db58c071adfe9fa5a}} 
const int {\bfseries NBRTOURSPROVISIONSEXPLORATIONFAMINE} = 10
\item 
\mbox{\Hypertarget{general_8hpp_a5b04f3dac51f6490e78447ed16746bab}\label{general_8hpp_a5b04f3dac51f6490e78447ed16746bab}} 
const int {\bfseries NBRTOURSPROVISIONSSURVIEULTIME} = 3
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Liste des variables globales constantes. 



\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09}} 
\index{general.hpp@{general.hpp}!EtatFourmi@{EtatFourmi}}
\index{EtatFourmi@{EtatFourmi}!general.hpp@{general.hpp}}
\doxysubsubsection{\texorpdfstring{EtatFourmi}{EtatFourmi}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{general_8hpp_a2915aed156b84eb6e44b893e98093b09}{Etat\+Fourmi}}}

Enum des état possibles d\textquotesingle{}une \mbox{\hyperlink{classFourmi}{Fourmi}} \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ATTENDRE@{ATTENDRE}!general.hpp@{general.hpp}}\index{general.hpp@{general.hpp}!ATTENDRE@{ATTENDRE}}}\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7d519a354eaef652a9f8bedcc0c6c132}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7d519a354eaef652a9f8bedcc0c6c132}} 
ATTENDRE&La \mbox{\hyperlink{classFourmi}{Fourmi}} ne peut pas ou ne veut pas agir. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{CHERCHERBOUFFE@{CHERCHERBOUFFE}!general.hpp@{general.hpp}}\index{general.hpp@{general.hpp}!CHERCHERBOUFFE@{CHERCHERBOUFFE}}}\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7c6f2b5f7f26a2badf2ff46443384b17}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09a7c6f2b5f7f26a2badf2ff46443384b17}} 
CHERCHERBOUFFE&La \mbox{\hyperlink{classFourmi}{Fourmi}} parcours la carte a la recherche de nourriture. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{RAMENERBOUFFE@{RAMENERBOUFFE}!general.hpp@{general.hpp}}\index{general.hpp@{general.hpp}!RAMENERBOUFFE@{RAMENERBOUFFE}}}\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09a350399cf3db8776ad19209650b0209d1}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09a350399cf3db8776ad19209650b0209d1}} 
RAMENERBOUFFE&La \mbox{\hyperlink{classFourmi}{Fourmi}} a trouver de la nourriture et la ramène a la \mbox{\hyperlink{classFourmilliere}{Fourmilliere}}. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ALERTED@{ALERTED}!general.hpp@{general.hpp}}\index{general.hpp@{general.hpp}!ALERTED@{ALERTED}}}\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09a4c6dc882c890f85f25351ac2d9ea5c9c}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09a4c6dc882c890f85f25351ac2d9ea5c9c}} 
ALERTED&La \mbox{\hyperlink{classFourmi}{Fourmi}} a rencontrer une \mbox{\hyperlink{classFourmi}{Fourmi}} d\textquotesingle{}une autre \mbox{\hyperlink{classFourmilliere}{Fourmilliere}} et rentre. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ZOMBIE@{ZOMBIE}!general.hpp@{general.hpp}}\index{general.hpp@{general.hpp}!ZOMBIE@{ZOMBIE}}}\mbox{\Hypertarget{general_8hpp_a2915aed156b84eb6e44b893e98093b09a5dfb36109b24f39d54d5c3f48f53def8}\label{general_8hpp_a2915aed156b84eb6e44b893e98093b09a5dfb36109b24f39d54d5c3f48f53def8}} 
ZOMBIE&\mbox{\hyperlink{classFourmi}{Fourmi}} dont la \mbox{\hyperlink{classFourmilliere}{Fourmilliere}} est morte. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{general_8hpp_af2f9f4bebc177281e00f55ebff198d52}\label{general_8hpp_af2f9f4bebc177281e00f55ebff198d52}} 
\index{general.hpp@{general.hpp}!PaysageCase@{PaysageCase}}
\index{PaysageCase@{PaysageCase}!general.hpp@{general.hpp}}
\doxysubsubsection{\texorpdfstring{PaysageCase}{PaysageCase}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{general_8hpp_af2f9f4bebc177281e00f55ebff198d52}{Paysage\+Case}}}

Represente le type de terrain et leur difficulté 