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
0131fe19
Commit
0131fe19
authored
May 15, 2021
by
Luning Yang
Browse files
Update voisinage.cpp
parent
2211d3f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Voisinage/voisinage.cpp
View file @
0131fe19
...
...
@@ -167,4 +167,18 @@ void RegleVoisinageMoore::calculVoisinage(Voisinage& v, const Reseau& r){
}
}
}
Voisinage
::~
Voisinage
()
{
VoisinageIterator
*
cellules
(
this
);
cellules
.
first
();
int
nb
=
0
;
while
(
!
cellules
.
isDone
()){
delete
voisinage
[
nb
];
nb
++
;
}
delete
[]
voisinage
;
}
\ No newline at end of file
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