commit
This commit is contained in:
parent
10bfdd3fde
commit
a387e9bff0
6 changed files with 99 additions and 0 deletions
5
cr/.gitignore
vendored
Normal file
5
cr/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*.pdf
|
||||
*.aux
|
||||
*.lof
|
||||
*.log
|
||||
*.toc
|
BIN
cr/images/logo_ensibs.jpg
Normal file
BIN
cr/images/logo_ensibs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
BIN
cr/images/python.png
Normal file
BIN
cr/images/python.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
60
cr/lib/cr.sty
Normal file
60
cr/lib/cr.sty
Normal file
|
@ -0,0 +1,60 @@
|
|||
\usepackage{graphicx}
|
||||
\usepackage{geometry}
|
||||
\usepackage[french]{babel}
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
\graphicspath{{images/}}
|
||||
\geometry{
|
||||
a4paper,
|
||||
left=2.5cm,
|
||||
right=2.5cm,
|
||||
top=1.5cm,
|
||||
bottom=1.5cm
|
||||
}
|
||||
|
||||
\newcommand{\subtitle}[1]{\def\@subtitle{#1}}
|
||||
\newcommand{\@subtitle}{}
|
||||
|
||||
\newcommand{\coverpage}[3] {
|
||||
\begin{titlepage}
|
||||
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=0.20\textwidth]{#2}
|
||||
\end{figure}
|
||||
|
||||
\begin{center}
|
||||
\large #1
|
||||
|
||||
\vspace{0.5cm}
|
||||
|
||||
\rule{\textwidth}{1pt}
|
||||
|
||||
\Huge \@title
|
||||
|
||||
\large \@subtitle
|
||||
|
||||
\rule{\textwidth}{1pt}
|
||||
|
||||
\large Par \@author
|
||||
|
||||
\large Le \today
|
||||
\end{center}
|
||||
|
||||
\vspace{0.5cm}
|
||||
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=0.75\textwidth]{#3}
|
||||
\end{figure}
|
||||
|
||||
\end{titlepage}
|
||||
}
|
||||
|
||||
\newcommand{\crfigure}[2] {
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=0.75\textwidth]{#1}
|
||||
\caption{#2}
|
||||
\end{figure}
|
||||
}
|
10
cr/makefile
Normal file
10
cr/makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
name=projet_UMM_Lukian_LEIZOUR
|
||||
|
||||
make:
|
||||
pdflatex -jobname=$(name) src/source.tex
|
||||
pdflatex -jobname=$(name) src/source.tex
|
||||
rm -rf *.lof *.log *.toc *.aux
|
||||
rm -rf src/*.lof src/*.log src/*.toc src/*.aux
|
||||
|
||||
clean:
|
||||
rm -rf *.pdf
|
24
cr/src/source.tex
Normal file
24
cr/src/source.tex
Normal file
|
@ -0,0 +1,24 @@
|
|||
\documentclass[12pt, a4paper]{article}
|
||||
\usepackage{./lib/cr}
|
||||
|
||||
\title{Algorithmique et programmation impérative}
|
||||
\subtitle{Implémentation d'un algorithme génétique en python}
|
||||
\author{Lukian LEIZOUR}
|
||||
\date{\today}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\coverpage{ICE - Informatique et Cybersécurité (Cybersécurité du logiciel)}{logo_ensibs}{python}
|
||||
\tableofcontents
|
||||
\listoffigures
|
||||
\newpage
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
Le mastermind est un jeu de société à deux joueurs dont le but est de trouver une suite de couleurs. Le premier joueur doit trouver la bonne suite, tandis que le deuxième lui donne des infomations sur ses tentatives (couleurs bien placées, mal placées et non présentes). Le jeu que nous avons implémenté est légèrement plys compliqué. Il s'aggit de l'ultra mastermind, dans ce jeu le but n'est pas de trouver une suite de couleurs mais une phrase en ASCII sur 255 bits. Pour cela nous avons utilisé un algorithme génétique que nous expliquerons plys tard. Nous avons donc utilisé le langage python pour implémenter notre algorithme. Dans ce compte rendu nous commencerons par expliquer notre algorithme, ensuite nous présenterons notre implémentation, nous ferons une analyse des différents paramètres de l'algorithme, et enfin nous mettrons en perspectiver ce projet avec des cas de figure réels.
|
||||
|
||||
\section{Algorithme génétique}
|
||||
|
||||
|
||||
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue