vault backup: 2023-11-06 23:08:39
This commit is contained in:
parent
e3ea54af6c
commit
07b138fe37
3 changed files with 17 additions and 11 deletions
3
.obsidian/appearance.json
vendored
3
.obsidian/appearance.json
vendored
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"accentColor": ""
|
|
||||||
}
|
|
10
.obsidian/workspace.json
vendored
10
.obsidian/workspace.json
vendored
|
@ -13,7 +13,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "4a1s/MFES/PL - Aula 6.md",
|
"file": "4a1s/MFES/PL - Aula 7.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "4a1s/MFES/PL - Aula 6.md",
|
"file": "4a1s/MFES/PL - Aula 7.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "4a1s/MFES/PL - Aula 6.md",
|
"file": "4a1s/MFES/PL - Aula 7.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "4a1s/MFES/PL - Aula 6.md"
|
"file": "4a1s/MFES/PL - Aula 7.md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -160,8 +160,8 @@
|
||||||
},
|
},
|
||||||
"active": "3ca14d4a6c304083",
|
"active": "3ca14d4a6c304083",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"4a1s/MFES/PL - Aula 7.md",
|
|
||||||
"4a1s/MFES/PL - Aula 6.md",
|
"4a1s/MFES/PL - Aula 6.md",
|
||||||
|
"4a1s/MFES/PL - Aula 7.md",
|
||||||
"4a1s/DAA/PL - Aula 1.md",
|
"4a1s/DAA/PL - Aula 1.md",
|
||||||
"Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md",
|
"Excalidraw/Drawing 2023-10-04 12.19.18.excalidraw.md",
|
||||||
"Excalidraw/doodles.excalidraw.md",
|
"Excalidraw/doodles.excalidraw.md",
|
||||||
|
|
|
@ -37,11 +37,20 @@ sig Hash {}
|
||||||
// respective commands to check how many
|
// respective commands to check how many
|
||||||
// points you have.
|
// points you have.
|
||||||
|
|
||||||
|
|
||||||
pred insert[n : Node] {
|
pred insert[n : Node] {
|
||||||
some k: Hash
|
//if hash empty -> node to head of bucket
|
||||||
//if hash empty -> node to head of bucket
|
n.key.hash not in Hash implies
|
||||||
//else
|
(
|
||||||
|
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 =
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue