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
22a3a1e1
Verified
Commit
22a3a1e1
authored
Jun 10, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Make setructor reglevoisinage virtual
parent
ec0a8b74
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/voisinage.h
View file @
22a3a1e1
...
...
@@ -72,6 +72,7 @@ class RegleVoisinage{
virtual
int
getType
()
const
=
0
;
/// Renvoie le rayon d'une règle de voisinage, 0 si ce n'est pas pertinant pour ce voisinage (arbitraire, ...)
virtual
unsigned
int
getr
()
const
{
return
0
;
}
virtual
~
RegleVoisinage
()
=
default
;
};
class
RegleVoisinageNeumann
:
public
RegleVoisinage
{
...
...
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