vault backup: 2023-11-06 23:08:39

This commit is contained in:
Alice 2023-11-06 23:08:39 +00:00
parent e3ea54af6c
commit 07b138fe37
3 changed files with 17 additions and 11 deletions

View file

@ -1,3 +0,0 @@
{
"accentColor": ""
}

View file

@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "4a1s/MFES/PL - Aula 6.md",
"file": "4a1s/MFES/PL - Aula 7.md",
"mode": "source",
"source": false
}
@ -85,7 +85,7 @@
"state": {
"type": "backlink",
"state": {
"file": "4a1s/MFES/PL - Aula 6.md",
"file": "4a1s/MFES/PL - Aula 7.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -102,7 +102,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "4a1s/MFES/PL - Aula 6.md",
"file": "4a1s/MFES/PL - Aula 7.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@ -125,7 +125,7 @@
"state": {
"type": "outline",
"state": {
"file": "4a1s/MFES/PL - Aula 6.md"
"file": "4a1s/MFES/PL - Aula 7.md"
}
}
},
@ -160,8 +160,8 @@
},
"active": "3ca14d4a6c304083",
"lastOpenFiles": [
"4a1s/MFES/PL - Aula 7.md",
"4a1s/MFES/PL - Aula 6.md",
"4a1s/MFES/PL - Aula 7.md",
"4a1s/DAA/PL - Aula 1.md",
"Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md",
"Excalidraw/doodles.excalidraw.md",

View file

@ -37,11 +37,20 @@ sig Hash {}
// respective commands to check how many
// points you have.
pred insert[n : Node] {
some k: Hash
//if hash empty -> node to head of bucket
//else
n.key.hash not in Hash implies
(
lone b:Bucket | b.head = node implies b.head' = n
)
//if hash empty -> bucket of desired hash, add to next
n.key.hash in Hash implies
(
lone b: Bucket | b.head.key.hash = n.key.hash | b.head.*prox =
)
}
```