Asriel Camora
c344815e50
Moved algorithm into SolverConfig, multi configuration support
2023-07-23 02:28:18 +04:00
Asriel Camora
bac96201d2
Add synth helper progress bars
2023-07-21 10:19:38 -07:00
Asriel Camora
c471d3edf8
Split synth helper, use ienumerator to manage state
2023-07-21 20:44:15 +04:00
Asriel Camora
809f5e04b0
Implement synthesis helper
...
I feel like it's still super janky so far.. hopefully more improvements soon
2023-07-21 16:02:16 +04:00
Asriel Camora
ca6d6de934
Synthesis helper config options
2023-07-21 16:01:18 +04:00
Asriel Camora
1e5cc96837
Invoke algorithm directly from enum
2023-07-21 16:01:01 +04:00
Asriel Camora
918252f9fe
Crafting Log window changes
2023-07-21 16:00:30 +04:00
Asriel Camora
04f3302605
Simulator window changes
2023-07-21 15:59:53 +04:00
Asriel Camora
8aee6e54af
Change RecipeNote code into utility
2023-07-21 15:57:46 +04:00
Asriel Camora
bd43533a4a
No need to track network condition changes, use the UI for everything
2023-07-21 15:56:31 +04:00
Asriel Camora
b99158727c
Better Action and ClassJob lookups
2023-07-21 15:54:31 +04:00
Asriel Camora
0e6fbe5418
Switch back to record structs
2023-07-21 15:53:50 +04:00
Asriel Camora
f1f60752b5
Allow existing conditions to be ticked in SimulatorNoRandom
2023-07-21 15:52:25 +04:00
Asriel Camora
8c73796b75
Solver token handling fixes, formatting tweaks
2023-07-21 15:51:52 +04:00
Asriel Camora
807e0838a2
Add craft Condition update network handler
...
No need to rely on ui anymore :) ty to infi in discord for helping
2023-07-21 15:48:43 +04:00
Asriel Camora
c8231b5d2a
Refactor ui code, add temp synth window
2023-07-17 00:13:59 +04:00
Asriel Camora
858d5d468c
Bump versioning
2023-07-16 00:17:11 +04:00
Asriel Camora
cb9dcb358f
Yet more ui tweaks
2023-07-16 00:09:37 +04:00
Asriel Camora
1cc83ca959
Minor ui tweaks
2023-07-16 00:01:19 +04:00
Asriel Camora
8417ee4fc5
Remove combo actions from view
2023-07-15 23:54:26 +04:00
Asriel Camora
88babd3844
Move around options, add algorithm selector
2023-07-15 23:45:21 +04:00
Asriel Camora
376a9fe7cb
Remove frame timers, fix underline color
2023-07-15 23:09:17 +04:00
Asriel Camora
5cd9f10917
Refactor and update settings window
2023-07-15 22:46:57 +04:00
Asriel Camora
eae91d6d02
Fix macro generation for combo actions
2023-07-14 23:56:30 +04:00
Asriel Camora
5ab53f56b9
Expand macros generated by solver
2023-07-14 23:45:34 +04:00
Asriel Camora
23dd60bb34
Make combo actions much more clear
2023-07-14 23:45:07 +04:00
Asriel Camora
79377b5e89
Minor performance tweaks
2023-07-14 22:54:53 +04:00
Asriel Camora
86daf038ce
Allow selecting algorithm and hiding combos
2023-07-13 21:23:24 +02:00
Asriel Camora
9a245aa9ad
Minor solver refactoring
2023-07-13 21:22:39 +02:00
Asriel Camora
df72386f19
Fix edge case exceptions when input simulation is invalid
2023-07-13 13:02:39 +02:00
Asriel Camora
d670241d1e
Merge branch 'offload-bufs' into main
2023-07-13 12:38:11 +02:00
Asriel Camora
9a75542e4b
Tweak byregot scoring system, add bonuses to config
2023-07-13 12:27:45 +02: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
436858e65c
Optimizations/improve action gen
2023-07-07 20:23:27 +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
7d8fc9ff8f
Remove extra stackallocs
2023-07-07 16:35:22 +02:00
Asriel Camora
0e947e2af4
fix
2023-07-07 16:29:25 +02:00
Asriel Camora
e4d9e3a52e
Offload node score buffers
2023-07-07 15:45:42 +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
2894867195
Smaller minor optimizations
2023-07-06 19:45: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
e46d1b20fa
Use rqrt in child score calculation
...
Changes sqrt -> rsqrt and div->mul. Reduces latency by 23 -> 8 cycles.
2023-07-04 08:36:41 +02:00