|
|
455bd34d3b
|
build/publish pipeline
|
2023-11-11 15:02:27 +01:00 |
|
|
|
b0c6986511
|
coordinates are essentially just tuples, so let's treat them as such. Double the speed for no cost :)
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 41s
|
2023-10-19 06:02:25 +02:00 |
|
|
|
bd31a062cc
|
test new gitea
|
2023-10-19 05:13:33 +02:00 |
|
|
|
4602a48e48
|
test gitea actions
|
2023-09-24 16:03:44 +02:00 |
|
|
|
4f7bc129f9
|
test gitea actions
|
2023-09-24 16:00:32 +02:00 |
|
|
|
03a5b69f88
|
Merge remote-tracking branch 'leeloo/master'
|
2023-09-21 19:15:52 +02:00 |
|
|
|
41d7f7c0eb
|
Initial commit
|
2023-09-21 16:20:47 +00:00 |
|
|
|
75013fbcdd
|
Grid.move()
|
2023-09-17 04:08:00 +02:00 |
|
|
|
cc9a6bcbc5
|
Coordinate.__mul__, Coordinate.__truediv__, Coordinate.__floordiv__
|
2023-09-17 04:07:47 +02:00 |
|
|
|
ec64dce347
|
int.sum_digits()
|
2023-07-08 14:12:25 +02:00 |
|
|
|
b0a8388a8b
|
tools.Dict(): ansible template style dictionary with defaults
|
2023-02-25 14:29:54 +01:00 |
|
|
|
9f11e12bc4
|
Grid: a whole bunch of bugfixing around transformations and mode3d
Grid: added __eq__()
|
2022-12-25 18:36:37 +01:00 |
|
|
|
69a63c94f6
|
correctly calculate time left on wrong answer
|
2022-12-25 10:29:18 +01:00 |
|
|
|
ca4c67f805
|
some bug fixing around 3d grids
|
2022-12-25 05:19:57 +01:00 |
|
|
|
9963a21821
|
Grid: finalizing shift(), adding shift_zero()
|
2022-12-24 06:12:44 +01:00 |
|
|
|
5bae00234c
|
Grid.recalcBoundaries() (for when grids get smaller, which is not tracked by default)
Grid.from_str() and Grid.print() now accept translate dicts for more complex grid values
|
2022-12-23 08:00:21 +01:00 |
|
|
|
9e08c99ae1
|
Merge remote-tracking branch 'origin/master'
|
2022-12-22 09:35:12 +01:00 |
|
|
|
47446f3f35
|
Grid.shift() - shift whole coordinate system
|
2022-12-22 09:35:09 +01:00 |
|
Stefan Harmuth
|
afac0e484d
|
int_seq.fibonacci: less recursive, more memory efficient
|
2022-12-20 12:09:57 +01:00 |
|
|
|
798e8c3faa
|
reformat
|
2022-12-19 04:49:46 +01:00 |
|
|
|
f5544299da
|
Cache(): a dict that keeps track of "x in Cache()" calls to enable statistics
|
2022-12-19 04:48:08 +01:00 |
|
|
|
2692f4b560
|
Grid.getPath_BFS()
|
2022-12-14 19:37:03 +01:00 |
|
|
|
642a32b884
|
Grid.count(); Grid.print() not handles Enums
|
2022-12-14 06:51:55 +01:00 |
|
|
|
00de38a277
|
Coordinate.getNeighbours() and Grid.getNeighboursOf() can be generators; no need to create extra lists every time
|
2022-12-12 08:11:29 +01:00 |
|
|
|
5df82d2359
|
reversable coordinates; grid.print() can now mark important spots
|
2022-12-10 14:50:22 +01:00 |
|
|
|
35972bffe2
|
aoc_ocr
|
2022-12-10 10:29:39 +01:00 |
|
|
|
011abd7fb5
|
set default in from_string and allow "true" to become any value
|
2022-12-04 11:11:27 +01:00 |
|
|
|
afcafbba0a
|
set default in from_string
|
2022-12-04 10:58:17 +01:00 |
|
|
|
ab05a1a770
|
fix transformations
|
2022-12-04 10:57:28 +01:00 |
|
|
|
353ff51411
|
make AOCDay.getInput() return type casted input
|
2022-12-03 11:10:03 +01:00 |
|
|
|
a2aa81388c
|
better human readable time from ns
|
2022-12-03 10:06:31 +01:00 |
|
|
|
33c645ac04
|
set()'s __and__ for list and str
|
2022-12-03 08:09:51 +01:00 |
|
|
|
87ead88610
|
set()'s .intersection for list and str
|
2022-12-03 08:05:45 +01:00 |
|
|
|
c55d36380b
|
Merge remote-tracking branch 'origin/master'
|
2022-12-03 06:23:16 +01:00 |
|
|
|
b497ee4bc5
|
actually never implemented a simple list intersection?
|
2022-12-03 06:23:12 +01:00 |
|
Stefan Harmuth
|
b6360d18ed
|
grid.Grid(): getActiveRegion(); returns connected !default regions
|
2022-11-30 11:20:48 +01:00 |
|
Stefan Harmuth
|
c16bc0d1cf
|
*real* start to hex coordinates
|
2022-11-29 20:37:46 +01:00 |
|
Stefan Harmuth
|
d92686dd28
|
better stopwatch
|
2022-11-29 19:36:55 +01:00 |
|
|
|
4f45d1f32d
|
start on hexgrids
|
2022-11-28 08:18:43 +01:00 |
|
|
|
199d6c1908
|
more precise stopwatch
|
2022-11-19 12:57:40 +01:00 |
|
|
|
8e0b28159f
|
waaaay better circles - also for 3d coords
|
2022-08-14 13:38:41 +02:00 |
|
|
|
3c5e27cf36
|
waaaay better circles
|
2022-08-14 13:36:55 +02:00 |
|
|
|
987a5bab28
|
better dealing with boundaries
getting circles (mind the FIXME)
|
2022-08-14 13:25:33 +02:00 |
|
|
|
c5428a4ea5
|
keep a more accurate track of boundaries
|
2022-08-14 12:32:37 +02:00 |
|
|
|
0ddf7596e0
|
better annotation
|
2022-08-14 11:53:45 +02:00 |
|
|
|
1f633f3125
|
min and max in the same function
|
2022-08-14 11:51:02 +02:00 |
|
|
|
c254bb8643
|
Merge remote-tracking branch 'origin/master'
|
2022-08-10 23:35:01 +02:00 |
|
|
|
f83709758c
|
set shaped areas in a grid
|
2022-08-10 23:34:58 +02:00 |
|
Stefan Harmuth
|
953dcc9505
|
Merge remote-tracking branch 'origin/master'
|
2022-08-10 10:09:22 +02:00 |
|
Stefan Harmuth
|
3bbb37526d
|
some minor refactorings suggested by sonarcube
|
2022-08-10 10:09:15 +02:00 |
|