Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
f5c6c3b1
Commit
f5c6c3b1
authored
Jun 10, 2021
by
Maxime Goret
Browse files
probleme version
parents
c1bf7bc5
c884737e
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/Automate.h
View file @
f5c6c3b1
...
...
@@ -70,11 +70,11 @@ class Automate {
/// Définir la fonction de transition de l'automate, le cycle de vie de la focntion est géré par l'utilisateur
void
setFonction
(
Fonction
&
f
)
{
fonction
=
&
f
;
}
/// Récupérer la fonction de transition
const
Fonction
&
getFonction
()
const
{
return
*
fonction
;
}
Fonction
&
getFonction
()
{
return
*
fonction
;
}
/// Définir une règle de voisinage, le cycle de vie de la règle est géré par l'utilisateur
void
setRegleVoisinage
(
RegleVoisinage
&
r
)
{
regleVoisinage
=
&
r
;
}
/// Récupérer la règle de voisinage
const
RegleVoisinage
&
getRegleVoisinage
()
const
{
return
*
regleVoisinage
;
}
RegleVoisinage
&
getRegleVoisinage
()
{
return
*
regleVoisinage
;
}
/// Définir le délai entre 2 itérations de l'automate en mode Timer
void
setDelai
(
const
unsigned
int
d
)
{
delai
=
d
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment