-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuse_cases_cognitive_work.plantuml
36 lines (30 loc) · 1.1 KB
/
use_cases_cognitive_work.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@startuml
skinparam packageStyle rectangle
title Pandora Boxchain Cognitive Work Use Cases
actor :Data Provider: as GP
actor :Kernel Provider: as KP
actor :Dataset Provider: as DP
actor :Client: as C
actor :Worker Node: as WN
actor :Validator Node: as VN1
actor :Arbiter Node: as VN2
KP <|-- GP: can be
DP <|-- GP: can be
VN1 <|-- VN2: higher reputation
rectangle "Cognitive Computing" {
usecase (Cognitive Computing) as cognition
usecase (Closed Arbitration) as closedArbitration
usecase (Public Arbitration) as publicArbitration
cognition ..> closedArbitration: extends
closedArbitration ..> publicArbitration: extends
(cognition) -- C: "init &\npayes\nfor work"
WN -- (cognition): "performs\ncognitive\ncomputations\n& mines"
WN -- (closedArbitration): initial\nappeal
VN1 -- (cognition): "validates\ncomputation\nresults"
VN2 -- (closedArbitration): "arbitrates &\n get rewards\nor penalties"
(cognition) -- GP: got paid
VN1 -- (publicArbitration): "arbitrates &\n get rewards\nor penalties"
WN -- (publicArbitration): public\nappeal
VN1 -- (publicArbitration): public\nappeal
}
@enduml