vault backup: 2023-11-10 11:45:55

This commit is contained in:
Alice 2023-11-10 11:45:55 +00:00
parent 61f15370f5
commit b511d7f8a7
2 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "4a1s/DAA/PL - Project.md",
"file": "4a1s/MFES/PL - Aula 7.md",
"mode": "source",
"source": false
}
@ -85,7 +85,7 @@
"state": {
"type": "backlink",
"state": {
"file": "4a1s/DAA/PL - Project.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/DAA/PL - Project.md",
"file": "4a1s/MFES/PL - Aula 7.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@ -125,7 +125,7 @@
"state": {
"type": "outline",
"state": {
"file": "4a1s/DAA/PL - Project.md"
"file": "4a1s/MFES/PL - Aula 7.md"
}
}
},
@ -160,8 +160,8 @@
},
"active": "9853b375f7893cb9",
"lastOpenFiles": [
"4a1s/DAA/PL - Aula 1.md",
"4a1s/DAA/PL - Project.md",
"4a1s/DAA/PL - Aula 1.md",
"4a1s/ASCN/T - Aula 3.md",
"4a1s/ASCN/T - Aula 2.md",
"4a1s/ASCN/T - Aula 1.md",

View file

@ -42,12 +42,12 @@ pred insert[n : Node] {
//if hash empty -> node to head of bucket
n.key.hash not in Hash implies
(
lone b:Bucket | b.head = node implies b.head' = n
lone b:Bucket | b.head = none 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 =
lone b: Bucket | b.head.key.hash = n.key.hash | b.head.*prox = n
)
}