svg

2025-09-06 17:57:26 +02:00
parent 539125f943
commit d36b7c3a8d
7 changed files with 49 additions and 37 deletions

@@ -88,12 +88,8 @@ L'opérateur _Succède_ (>) est le transposé de l'opérateur _Précède_ (<).
A _Égale_ B lorsque les bornes inférieures et supérieures de chaque intervalle sont égales.
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="6" y="2" font-size="1.8" text-anchor="middle">A</text>
<text x="6" y="6" font-size="1.8" text-anchor="middle">B</text>
<line x1="3" x2="10" y1="3" y2="3" stroke-width="1" stroke="black" />
<line x1="3" x2="10" y1="7" y2="7" stroke-width="1" stroke="black" />
</svg>
![Succède](intervalles/egale.svg)
Allen |Postgres
------|---
@@ -114,12 +110,7 @@ Allen|Postgres
---|---
A m B | A -\|- B
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="3" x2="7" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="7" x2="15" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>
![Rencontre](intervalles/rencontre.svg)
```sql
select '[3,6]'::int4range -|- '[7,14]'::int4range;
@@ -152,12 +143,7 @@ L'opérateur _Chevauche_ (o) a comme transposé l'opérateur _Est chevauché par
A se déroule _Pendant_ (during) B lorque la borne inférieure de A est supérieure à la borne inférieure de B et que la borne supérieure de A est inférieure à la borne supérieure de B.
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="7" x2="10" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="5" x2="14" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>
![Pendant](intervalles/pendant.svg)
Allen|Postgres
------|---
@@ -173,17 +159,12 @@ L'opérateur _Pendant_ (d) a comme transposé l'opérateur _Contient_ (di). `i`
A _Contient_ B lorsque la borne inférieure de A est inférieure à la borne inférieure de B et que la borne supérieure de A est supérieure à la borne supérieure de B.
![Contient](intervalles/contient.svg)
Allen |Postgres
------|---
A di B | A @> B
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" x2="14" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="7" x2="10" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>
```sql
select '[5,14]'::int4range @> '[7,10]'::int4range;
```
@@ -194,12 +175,7 @@ L'opérateur _Contient_ (di) est le transposé de l'opérateur _Pendant_ (d).
A _Commence_ en même temps (starts) que B lorsque la borne inférieure de A est égale à la borne inférieure de B.
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" y1="4" x2="10" y2="4" stroke-width="1" stroke="black" />
<line x1="5" y1="6" x2="14" y2="6" stroke-width="1" stroke="black" />
</svg>
![Commence](intervalles/commence.svg)
Allen |Postgres
------|---
@@ -215,12 +191,7 @@ L'opérateur _Commence_ (s) a comme transposé l'opérateur _Débuté par_ (si).
A _Finit_ en même temps (finishes) que B lorsque la borne supérieure de A est égale à la borne supérieure de B.
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" x2="15" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="10" x2="15" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>
![Finit](intervalles/finit.svg)
Allen|Postgres
------|---

@@ -0,0 +1,7 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" y1="4" x2="10" y2="4" stroke-width="1" stroke="black" />
<line x1="5" y1="6" x2="14" y2="6" stroke-width="1" stroke="black" />
</svg>

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 402 B

7
intervalles/contient.svg Normal file

@@ -0,0 +1,7 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" x2="14" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="7" x2="10" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>

After

Width:  |  Height:  |  Size: 402 B

6
intervalles/egale.svg Normal file

@@ -0,0 +1,6 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 8" width="200" height="80">
<text x="6" y="2" font-size="1.8" text-anchor="middle">A</text>
<text x="6" y="6" font-size="1.8" text-anchor="middle">B</text>
<line x1="3" x2="10" y1="3" y2="3" stroke-width="1" stroke="black" />
<line x1="3" x2="10" y1="7" y2="7" stroke-width="1" stroke="black" />
</svg>

After

Width:  |  Height:  |  Size: 398 B

7
intervalles/finit.svg Normal file

@@ -0,0 +1,7 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="5" x2="15" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="10" x2="15" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>

After

Width:  |  Height:  |  Size: 404 B

7
intervalles/pendant.svg Normal file

@@ -0,0 +1,7 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="7" x2="10" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="5" x2="14" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>

After

Width:  |  Height:  |  Size: 402 B

@@ -0,0 +1,7 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 8" width="200" height="80">
<text x="5" y="3" font-size="1.8" text-anchor="middle">A</text>
<text x="11" y="5" font-size="1.8" text-anchor="middle">B</text>
<line x1="3" x2="7" y1="4" y2="4" stroke-width="1" stroke="black" />
<line x1="7" x2="15" y1="6" y2="6" stroke-width="1" stroke="black" />
</svg>

After

Width:  |  Height:  |  Size: 401 B