Justin Lin
|
4c3dca538d
|
add test
|
2022-04-15 08:12:48 +08:00 |
|
Justin Lin
|
35cf05dd42
|
add sorted
|
2022-04-15 08:07:38 +08:00 |
|
Justin Lin
|
bde84c004c
|
refactor: use hashset
|
2022-04-14 21:22:45 +08:00 |
|
Justin Lin
|
38ee4a9c66
|
refactor: rename var
|
2022-04-14 21:21:01 +08:00 |
|
Justin Lin
|
695e161724
|
add test
|
2022-04-14 21:19:53 +08:00 |
|
Justin Lin
|
5205a31bf2
|
refactor: use hashset
|
2022-04-14 21:14:12 +08:00 |
|
Justin Lin
|
ad5c2a984a
|
refactor: check bucket []
|
2022-04-14 21:03:08 +08:00 |
|
Justin Lin
|
9bb9dd4260
|
refactor: check bucket []
|
2022-04-14 21:02:55 +08:00 |
|
Justin Lin
|
8e042ae635
|
add test
|
2022-04-14 21:01:09 +08:00 |
|
Justin Lin
|
64df730e47
|
add test
|
2022-04-14 20:14:37 +08:00 |
|
Justin Lin
|
eccf2e2bd9
|
add test
|
2022-04-14 18:10:20 +08:00 |
|
Justin Lin
|
17c9118494
|
refactor: use sort
|
2022-04-14 18:03:34 +08:00 |
|
Justin Lin
|
1838104e4b
|
refactor: vector can be compared
|
2022-04-14 18:01:23 +08:00 |
|
Justin Lin
|
67745a8edf
|
refactor: use sort
|
2022-04-14 17:58:08 +08:00 |
|
Justin Lin
|
00a0bf9749
|
format
|
2022-04-14 16:01:39 +08:00 |
|
Justin Lin
|
42f4c7eafd
|
refactor
|
2022-04-14 15:57:56 +08:00 |
|
Justin Lin
|
6250cce455
|
refactor: vector addition
|
2022-04-14 10:47:18 +08:00 |
|
Justin Lin
|
2b58eb7528
|
del
|
2022-04-14 10:36:13 +08:00 |
|
Justin Lin
|
d6b2e40d8d
|
refactor: provide closed shape
|
2022-04-14 10:36:01 +08:00 |
|
Justin Lin
|
f2e81bf3c3
|
refactor: del pts
|
2022-04-14 10:19:22 +08:00 |
|
Justin Lin
|
2400ad550b
|
add test
|
2022-04-14 10:05:11 +08:00 |
|
Justin Lin
|
e3c5d035aa
|
refactor: vector minus
|
2022-04-14 09:52:22 +08:00 |
|
Justin Lin
|
963bcab381
|
add test
|
2022-04-14 09:52:12 +08:00 |
|
Justin Lin
|
4215efe4fa
|
update doc
|
2022-04-14 07:51:45 +08:00 |
|
Justin Lin
|
7039e9e379
|
refactor: use leap, vector mult
|
2022-04-13 20:59:14 +08:00 |
|
Justin Lin
|
a6cdb1c2c8
|
refactor: remove var
|
2022-04-13 10:09:11 +08:00 |
|
Justin Lin
|
220db1a3a4
|
refactor: var is not necessary
|
2022-04-13 10:07:52 +08:00 |
|
Justin Lin
|
5e8a053e0d
|
refactor: inner _learp
|
2022-04-13 09:23:38 +08:00 |
|
Justin Lin
|
83242cb5fd
|
refactor: based on vector addition
|
2022-04-13 09:23:24 +08:00 |
|
Justin Lin
|
3f6211d8a6
|
add test
|
2022-04-13 09:10:25 +08:00 |
|
Justin Lin
|
9b3eee5993
|
refactor
|
2022-04-13 08:26:10 +08:00 |
|
Justin Lin
|
06f144d38b
|
refactor: we don't really need angle
|
2022-04-12 20:26:41 +08:00 |
|
Justin Lin
|
7b3f27358b
|
refactor: we don't really need angle
|
2022-04-12 19:37:15 +08:00 |
|
Justin Lin
|
6548996334
|
refactor: readability is 1st
|
2022-04-12 15:59:20 +08:00 |
|
Justin Lin
|
21a822e989
|
combination of quick sort and insertion sort
|
2022-04-12 14:46:42 +08:00 |
|
Justin Lin
|
4f09162c28
|
refactor: extract a _sort function
|
2022-04-12 14:35:29 +08:00 |
|
Justin Lin
|
db0d381ceb
|
refactor: vector minus
|
2022-04-12 09:40:48 +08:00 |
|
Justin Lin
|
903caed63c
|
refactor: use norm
|
2022-04-12 09:33:54 +08:00 |
|
Justin Lin
|
2a29844a3f
|
get weights when first_collasped_propagated
|
2022-04-11 18:24:23 +08:00 |
|
Justin Lin
|
8a8e55d54f
|
refactor: sort and get elem
|
2022-04-11 17:13:27 +08:00 |
|
Justin Lin
|
ad760d1f4a
|
refactor: use cross
|
2022-04-11 11:31:14 +08:00 |
|
Justin Lin
|
71f2156d3e
|
refactor: check eq in _hashset
|
2022-04-11 11:11:02 +08:00 |
|
Justin Lin
|
233ae4b50a
|
refactor: extract a template
|
2022-04-11 11:08:12 +08:00 |
|
Justin Lin
|
a63bbb47fd
|
refactor: check eq in f_eq
|
2022-04-11 11:05:13 +08:00 |
|
Justin Lin
|
9141a4db4b
|
refactor: check eq in _dedup
|
2022-04-11 10:46:09 +08:00 |
|
Justin Lin
|
949a48a74f
|
refactor: del default value
|
2022-04-11 07:39:23 +08:00 |
|
Justin Lin
|
fe079986dc
|
fix missing dir
|
2022-04-10 20:24:25 +08:00 |
|
Justin Lin
|
7c6268c54c
|
refactor: check dirs directly
|
2022-04-10 20:17:35 +08:00 |
|
Justin Lin
|
dfdfda681d
|
refactor: check four dirs directly
|
2022-04-10 20:10:07 +08:00 |
|
Justin Lin
|
55c61ffb74
|
refactor: 1st dir is always visitable
|
2022-04-10 18:59:20 +08:00 |
|