yates
yates copied to clipboard
cache and load schemes from path files?
Hello, I'm using Yates in a way that I must re-run initialization for large networks many times, rather than doing it once before I process a series of TMs.
I wrote functions on my fork of yates to read the text of a paths file back into a scheme [1]. Since I haven't had any prior experience with Ocaml, this was a messy processes and I no doubt could have probably made it more efficient if I knew better. After testing it out on
yates data/topologies/Tinet.dot data/demands/Tinet_mergelen_12 data/demands/Tinet_mergelen_12 data/hosts/Tinet.hosts -num-tms 1 -mcfplaced
It seems like loading in the cached paths had no real impact on the initialization time.
I was wondering if you could comment on possible ways to improve the Yates initialization time, and whether or not loading cached paths into a scheme is even a reasonable way to approach the challenge. Thanks! Matt [1] https://github.com/mattall/yates/commit/21005b33add7969d725d7968b0952b506a004bd6