1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-26 05:24:49 +02:00
Commit graph

58 commits

Author SHA1 Message Date
Paul Schaub 0325122a31
Separate EdgeComponents in Certifications and Delegations 2023-07-17 12:38:53 +02:00
Heiko Schaefer cee061d01c
Implement WoT algorithm 2023-07-16 17:02:16 +02:00
Heiko Schaefer db89676784
Add ForwardPointer type 2023-07-16 13:07:17 +02:00
Heiko Schaefer ec9753ad71
Implement Cost 2023-07-16 13:07:17 +02:00
Heiko Schaefer 71f859af9b
Implement PairPriorityQueue 2023-07-16 13:07:17 +02:00
Heiko Schaefer 9560270386
Add package-info.java for org.pgpainless.wot.dijkstra 2023-07-16 13:07:17 +02:00
Heiko Schaefer ba133cfc7d
Path: adjust cycle detection to match our Path output style 2023-07-15 22:53:11 +02:00
Heiko Schaefer 65ff597f58
Depth: change internal representation and API, implement Comparable<Int> 2023-07-15 22:53:11 +02:00
Heiko Schaefer 95f5f58843
Paths: add "items" getter 2023-07-15 22:53:11 +02:00
Heiko Schaefer c2b9017b5d
Implement Root, Roots 2023-07-15 22:53:11 +02:00
Paul Schaub bdff2c5053
Remove unused method from Network.Builder class 2023-07-15 17:27:38 +02:00
Paul Schaub 31a7a822ac
Add Sugar file containing utility scope functions 2023-07-15 16:58:08 +02:00
Paul Schaub 408544a11c
Move EdgeComponent test constructor to NetworkDSL 2023-07-12 17:05:37 +02:00
Paul Schaub fdd0973a0b
Refactor package names 2023-07-12 17:05:37 +02:00
Paul Schaub 8c71afc250
Rename classes 2023-07-12 17:05:36 +02:00
Paul Schaub dc5d6fca51
Diabetes levels of DSL and sugar 2023-07-12 17:05:35 +02:00
Paul Schaub fce8634e4e
Work on Network 2023-07-12 17:05:35 +02:00
Paul Schaub b1f33080e0
Rename API package 2023-07-12 17:05:35 +02:00
Paul Schaub a0d206bb15
Move the API definition to wot-dijkstra 2023-07-12 17:05:34 +02:00
Heiko Schaefer 3a4c35dc2a
Comment typo fix 2023-07-12 17:05:34 +02:00
Heiko Schaefer e08ad71117
Path: Allow public get access for root and residualDepth 2023-07-12 17:05:33 +02:00
Heiko Schaefer 31e7704f89
Depth: Add fun value() to get the raw value 2023-07-12 17:05:33 +02:00
Heiko Schaefer 7032fe4a97
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-12 17:05:33 +02:00
Heiko Schaefer d413506c89
Network: toString formatting fix 2023-07-12 17:05:33 +02:00
Heiko Schaefer 268afef1d3
Fingerprint: Implement Comparable 2023-07-12 17:05:33 +02:00
Heiko Schaefer dd4845d88d
Path, Paths, RegexSet: Implement toString 2023-07-12 17:05:32 +02:00
Paul Schaub 34f7f7123f
Add Network.Builder class 2023-07-12 17:05:32 +02:00
Paul Schaub 6f4b7f9344
Small comments 2023-07-12 17:05:32 +02:00
Paul Schaub 570bb1a512
Dip the regex set into caramell - hmmm 2023-07-12 17:05:32 +02:00
Paul Schaub 38d9351620
Pour comments onto Path 2023-07-12 17:05:32 +02:00
Paul Schaub 13dc66f8e3
Sugar for the Fingerprint 2023-07-12 17:05:31 +02:00
Paul Schaub 4488f37394
Add sugar to Depth 2023-07-12 17:05:31 +02:00
Paul Schaub 1773bbcd32
Make Depth constructor private 2023-07-12 17:05:31 +02:00
Paul Schaub f27f1133f7
Improve legibility of CertificationSet code 2023-07-12 17:05:31 +02:00
Paul Schaub 41f4e3c453
Throw away older certifications in map constructor of CertificationSet 2023-07-12 17:05:31 +02:00
Paul Schaub a6955eb81a
Fix CertificationSet.add() and add test 2023-07-12 17:05:30 +02:00
Paul Schaub 6f5ca47709
fix comment 2023-07-12 17:05:30 +02:00
Paul Schaub 85b5624499
Only keep most recent signatures for datum in CertificationSet 2023-07-12 17:05:30 +02:00
Paul Schaub bb63c0e3bd
Work on API structure and first baby steps of formatting the Authenticate output 2023-07-12 17:03:57 +02:00
Paul Schaub 586cc1afb6
RevocationState.isEffective(creationTime) is now also true 2023-07-12 17:03:56 +02:00
Paul Schaub b9727a9436
Add equals() and hashCode() methods to Depth 2023-07-12 17:03:55 +02:00
Paul Schaub 2dcc1ae56e
Transform CertificationSet.certifications to backing property to achieve read-onlyness 2023-07-12 17:03:55 +02:00
Paul Schaub 3ddb73c1d6
Simplify ReferenceTime.now() 2023-07-12 17:03:53 +02:00
Paul Schaub 8d68a29836
Indexed for-loop 2023-07-12 17:03:53 +02:00
Heiko Schaefer 008f1b22ef
Fix off by one 2023-07-12 17:03:52 +02:00
Paul Schaub a057d21ca3
Update kDoc of RevocatioNState 2023-07-12 17:03:52 +02:00
Paul Schaub ae92b01cbb
Remove pgpainless-core dependency from wot-dijkstra 2023-07-12 17:03:52 +02:00
Heiko Schaefer f973065f06
Cherry-picked baa9d10fd2b1e8e07253f4f3576cfb5fff875c44 2023-07-12 17:03:50 +02:00
Paul Schaub 44774ac727
Add kDoc to Kotlin classes 2023-07-12 17:03:50 +02:00
Paul Schaub 1c56bf177b
Fix value name regexes in Certification 2023-07-12 17:03:49 +02:00