Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CellulutLO21
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
535827e8
Commit
535827e8
authored
3 years ago
by
Yann Boucher
Browse files
Options
Downloads
Patches
Plain Diff
Ignorer la cellule centrale pour le voisinage de von neumann aussi
parent
cff63b65
No related branches found
No related tags found
No related merge requests found
Pipeline
#79257
failed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/neighborhood_rules/vonNeumannNeighborhoodRule.cpp
+3
-1
3 additions, 1 deletion
src/neighborhood_rules/vonNeumannNeighborhoodRule.cpp
src/src.pro
+3
-0
3 additions, 0 deletions
src/src.pro
with
6 additions
and
1 deletion
src/neighborhood_rules/vonNeumannNeighborhoodRule.cpp
+
3
−
1
View file @
535827e8
...
...
@@ -17,7 +17,9 @@ vonNeumannNeighborhoodRule::vonNeumannNeighborhoodRule(int _radius)
if
(
abs
(
i
+
j
)
<=
_radius
)
{
newCord
.
x
=
i
;
newCord
.
y
=
j
;
format
.
positions
.
push_back
(
newCord
);
if
(
!
(
newCord
.
x
==
0
&&
newCord
.
y
==
0
))
{
format
.
positions
.
push_back
(
newCord
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/src.pro
+
3
−
0
View file @
535827e8
...
...
@@ -5,6 +5,9 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG
+=
c
++
14
TEMPLATE
=
app
#
Optimisations
,
flag
pour
garder
les
infos
de
debug
QMAKE_CXXFLAGS
+=
-
O2
-
g
#
You
can
make
your
code
fail
to
compile
if
it
uses
deprecated
APIs
.
#
In
order
to
do
so
,
uncomment
the
following
line
.
#
DEFINES
+=
QT_DISABLE_DEPRECATED_BEFORE
=
0
x060000
#
disables
all
the
APIs
deprecated
before
Qt
6.0
.
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment