Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cours
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
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
algorithmique
cours
Merge requests
!8
coquilles cours 21
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
coquilles cours 21
pk
into
master
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
pierre.kunzli
requested to merge
pk
into
master
3 years ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
version 1
version 1
e6e92a13
3 years ago
master (base)
and
latest version
latest version
42c89efa
2 commits,
3 years ago
version 1
e6e92a13
1 commit,
3 years ago
Show latest version
1 file
+
3
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
slides/cours_21.md
+
3
−
3
Options
@@ -684,16 +684,16 @@ struct node
@@ -684,16 +684,16 @@ struct node
rien insertion_etoile(arbre, e)
rien insertion_etoile(arbre, e)
si (!est_vide(arbre) && dans_le_quadrant(arbre.q, e.x)) {
si (!est_vide(arbre) && dans_le_quadrant(arbre.q, e.x)) {
si (est_feuille(arbre))
si (est_feuille(arbre))
si (
est_vid
e(arbre))
si (
!contient_etoil
e(arbre))
arbre.e = e
arbre.e = e
sinon
sinon
// on crée enfants et arbre.sup_etoile est initialisée
// on crée enfants et arbre.sup_etoile est initialisée
subdivision_arbre(arbre, e)
subdivision_arbre(arbre, e)
pour enfant dans arbre.enfants
pour enfant dans arbre.enfants
insertion_etoile(enfant, arbre.e)
insertion_etoile(enfant, arbre.e)
pour enfant dans arbre.enfants
pour enfant dans arbre.enfants
insertion_etoile(enfant, e)
insertion_etoile(enfant, e)
destruction(
etoil
e)
destruction(
arbre.
e)
sinon
sinon
maj_masse_cdm(arbre.sup_etoile, e)
maj_masse_cdm(arbre.sup_etoile, e)
pour enfant dans arbre.enfants
pour enfant dans arbre.enfants
Loading