Informatique/SPE/OPT/TP 5/Questions.tex
2020-12-02 22:40:55 +01:00

32 lines
1.2 KiB
TeX

\documentclass[a4paper,10pt]{article}
%\documentclass[a4paper,10pt]{scrartcl}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\renewcommand{\thesection}{\Roman{section}}
\newcommand{\sectioni}[2]{\setcounter{section}{#1}\addtocounter{section}{-1}\section{#2}}
\newcommand{\subsectioni}[2]{\setcounter{subsection}{#1}\addtocounter{subsection}{-1}\subsection{#2}}
\title{Questions du TP 5}
\author{}
\date{}
\pdfinfo{%
/Title ()
/Author ()
/Creator ()
/Producer ()
/Subject ()
/Keywords ()
}
\begin{document}
\maketitle
\section{Graphes définis par listes d'adjacences}
\begin{enumerate}
\item Si le graphe n'est est orienté, au lieu d'ajouter \textbf{j} à \textbf{g.(i)} et \textbf{i} à \textbf{g.(j)}, on se contente d'ajouter j à g.(i).
\item De même, au lieu de retirer \textbf{j} de \textbf{g.(i)} et \textbf{i} de \textbf{g.(j)}, on se contente de retirer \textbf{j} de \textbf{g.(i)}.
\item Ici on a \textbf{ajoute\_sommet : int $\rightarrow$ int $\rightarrow$ graphe1 $\rightarrow$ graphe1}, or l'appel d'exemple est \textbf{ajoute\_sommet g}. On supposera que \textbf{ajoute\_sommet} est du type : \textbf{graphe1 $\rightarrow$ graphe1}.
\end{enumerate}
\end{document}