Asriel Camora
e07617f1c8
Remove tracing
2023-11-04 23:15:20 -07:00
Asriel Camora
bfc8708fbd
Update solver scoring; remove byregot adjustment
2023-11-04 19:40:31 -07:00
Asriel Camora
269a7f9870
Optimize trace build, add trace sim code
2023-11-04 18:44:30 -07:00
Asriel Camora
4f953f2fa3
Add benchmarking and trace build config
2023-11-04 13:49:47 -07:00
Asriel Camora
42a1bc1117
Use TPL when solving with all algorithms
2023-10-02 22:28:12 -07:00
Asriel Camora
c0f579f23b
Split solver into MCTS and algorithms
2023-10-02 13:07:06 -07:00
Asriel Camora
e6081f5e60
Remove crafty namespace from solver
2023-10-02 12:16:43 -07:00
Asriel Camora
cfb5c53f3b
Make crafting log ui nicer, remove redundant code
2023-10-02 12:16:01 -07:00
Asriel Camora
08c5324b34
Code formatting fixes
2023-07-23 06:05:04 +04:00
Asriel Camora
5ab53f56b9
Expand macros generated by solver
2023-07-14 23:45:34 +04:00
Asriel Camora
7787ae32d5
Combo actions for better macro quality
2023-07-13 12:08:17 +02:00
Asriel Camora
49b84e966e
Keep iterating until a completed craft is found or is impossible
2023-07-10 21:00:57 +02:00
Asriel Camora
a9541e2e1d
Add furcated actions (better results than single thread & faster!)
2023-07-09 08:59:39 +02:00
Asriel Camora
2e2db97ca7
More heuristic improvements
2023-07-08 14:38:35 +02:00
Asriel Camora
636501ab86
Remove all concurrency code
...
Muddled the code too much, and only gave a marginal performance improvement in the grand scheme of things. Other ways to parallelize MCTS will be nicer to implement and could yield better results.
2023-07-07 20:17:35 +02:00
Asriel Camora
3ab50d389e
Fix concurrency, add forked simulations
2023-07-07 18:13:27 +02:00
Asriel Camora
1386f9150c
Fix concurrency deadlock
...
I'm stupid and forgot it divided the number of iterations by 8, no wonder it was so fast lmao
2023-07-07 13:01:17 +02:00
Asriel Camora
d5a8288439
Merge solver code with static interface
...
- Breaks backwards compat solver code with last version. Concurrent broke backwards compat because of race conditions with rng, but single is now broken too, despite it being 2x faster (!!!!)
- Literally twice as fast as Rust now in single thread
- Concurrent doesn't work yet, deadlocks somewhere..?
2023-07-07 10:26:59 +02:00
Asriel Camora
1f5da66bc6
Remove deadlock issue, use raw segmented array types
2023-07-05 11:00:15 +02:00
Asriel Camora
4d96fd173f
Some multithreaded fixes, deadlocks due to List reads during adds
2023-07-04 17:19:55 +02:00
Asriel Camora
75306ca020
Minor optimization
2023-07-04 10:33:10 +02:00
Asriel Camora
75553de490
Rudamentary locked multithreading
...
2x faster, but 8x threads.. not very good yet
2023-07-04 09:25:32 +02:00
Asriel Camora
76853e2f0d
Begin implementing async
2023-07-04 08:42:02 +03:00
Asriel Camora
37156c7f33
Add manipulation action flag and starting quality field
2023-06-23 03:02:03 -07:00
Asriel Camora
0de1faa112
Add benchmarks
2023-06-21 20:44:13 -07:00
Asriel Camora
0f2267dabf
Re enable random actions
2023-06-21 11:42:22 -07:00
Asriel Camora
f3445f3cb9
Customizable solver config, remove simulator emplace/displace methods
2023-06-21 10:38:08 -07:00
Asriel Camora
270963dd4a
Stop using Arena type since everything can be GC'd easily
2023-06-21 09:12:45 -07:00
Asriel Camora
52ad8a4cb0
even more minor optimizations, use random now
2023-06-21 07:36:43 -07:00
Asriel Camora
cdd4f5923e
Precompute base progress/quality increases
2023-06-20 17:07:16 -07:00
Asriel Camora
1d0d4cf8ce
Vectorize evaluation
2023-06-19 17:02:09 -07:00
Asriel Camora
05ead22448
Some analyzer code style changes
2023-06-19 10:03:57 -07:00
Asriel Camora
bae48844b5
fix to be identical to crafty, remove debugs
2023-06-18 03:50:48 -07:00
Asriel Camora
e190368d62
Big changes 2
...
- Split into several projects
- All dalamud/lumina deps are in the plugin
- Crafty/craftingway sim implemented!
- optimizations to follow
2023-06-17 08:50:46 -07:00