main-- / rust-factorio-ic

name wip
1 stars 1 forks source link

Move Bitmatrix-Generation (Vec<Vec<bool>>) to Method on Pcb #3

Closed oberien closed 4 years ago

oberien commented 4 years ago

and use it in mylee

main-- commented 4 years ago

Not ideal. I‘d rather hold the pcb in a better data structure and query that directly instead.

oberien commented 4 years ago

I already refactored out a PCB struct and wanted to slowly move all methods onto it, such that we can easily replace those methods with better implementations. For now this would allow better streamlining of the code for mylee and the lee-lib.

main-- commented 4 years ago

mylee code doesn't use a bitmatrix representation though

oberien commented 4 years ago

I wanted to streamline the preparation code of the two implementations, for example the loop, which iterates until any order of wires returns a result.

main-- commented 4 years ago

leemaze_lib is legacy code, this is now obsolete.