Skip to content
GitLab
Menu
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
84f73df5
Verified
Commit
84f73df5
authored
Jun 04, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
nexttimer, a little more complete
parent
8f1a4d0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Automate.cpp
View file @
84f73df5
...
...
@@ -15,7 +15,9 @@ void Automate::nextTimer()
{
for
(
size_t
j
=
0
;
j
<
l
;
j
++
)
{
Etat
&
e
=
fonction
->
getEtatSuivant
(,
r
.
getReseau
()[
i
][
j
]);
//besoin d'un voisinage
Voisinage
voisinage
((
*
buffer
.
end
()).
getReseau
[
i
][
j
],
/*c'est quoi ce paramètre ?*/
);
regleVoisinage
.
calculVoisinage
(
voisinage
,
*
buffer
.
end
());
Etat
&
e
=
fonction
->
getEtatSuivant
(
voisinage
,
r
.
getReseau
()[
i
][
j
]);
//besoin d'un voisinage
while
(
r
.
getReseau
()[
i
][
j
].
getIndEtat
()
!=
e
.
getIndice
())
//besoin de getIndice
r
.
getReseau
()[
i
][
j
].
incrementerEtat
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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