Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Algorithmes en pseudo language

Featured Replies

Posté(e)

Bonjour,

est-ce que quelqu'un connaitrait un logiciel permettant de créer des algorithmes en pseudo language comme ci dessous, fonctionnant sous linux ?

930f221584cb8ddd9602901645c72e4b.jpg

Merci :pleure:

Posté(e)

à mon avis, c'est du Latex ton image.

si tu veux, je te donne un exemple en latex :

\noindent\fbox{\noindent%
\begin{minipage}{\columnwidth}
\centerline{\textbf{Algo~1: Mobile-agent behaviour}}

%\vspace{-1mm}

\hspace{0mm}\textsc{Initialization:} $s_1\rightarrow s_c$

%\hspace{0mm}\textsc{Main loop}

\hspace{0mm}Do

\hspace{3mm}If $s_c=s_N$ \texttt{// A local agent is found!}

\hspace{6mm}Go back to the nest

\hspace{3mm}Else \texttt{// Look forward}

\hspace{6mm}Go to site $s_j$ with probability
$\displaystyle\frac{Ph_j(t)}{\sum_{l=1}^k Ph_l(t)}+\xi$

%\vspace{7mm}

\hspace{6mm}with $k=|succ(s_c)|$

\hspace{3mm}End If

\hspace{0mm}While $s_N$ not found or $prof<\theta$\\[-2mm]

\end{minipage}
}

c'est un peu barbare, mais ça se rapproche de ce que tu veux faire :pleure:

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.