zachanassian / tu_optimize

Tyrant Unleashed Optimizer
http://zachanassian.github.io/tu_optimize/
Other
8 stars 14 forks source link

[FEATURE] Deck groupings #12

Closed technophile77 closed 10 years ago

technophile77 commented 10 years ago

Can you add a way to create a group of decks? I'm running pvp sims, and have about 50 decks that I want to sim my deck against. I have added each of them to customdecks.txt, but it's a lot of typing to list all 50. Can you setup something so I can reference them as a group?

zachanassian commented 10 years ago

I am using batch files for grouping decks. http://zachanassian.github.io/tu_optimize/faq.html#batch

It is cumbersome and a better support is possible, but I won't implement this in the near future. But if somebody else does it and send me a pull request I would add it.

technophile77 commented 10 years ago

I understand, maybe I'll work on it if keeps bugging me.

whatchamccallum commented 10 years ago

I've thought about diving in and attempting to muli-thread this. Using a single core at 100% is just missing lots of available horse power to work through these simulations. I batch simulate against a bunch of decks and attempt to run climb against them. The one little CPU is very unhappy at me and feels slightly abused

On Tue, Apr 1, 2014 at 9:00 AM, technophile77 notifications@github.comwrote:

I understand, maybe I'll work on it if keeps bugging me.

Reply to this email directly or view it on GitHubhttps://github.com/zachanassian/tu_optimize/issues/12#issuecomment-39208300 .

zachanassian commented 10 years ago

whatchamccallum: not sure if multi threading is related to this feature. If not you could open another issue.

However tu_optimize supports multithreading. There is the option -t to specify the number of threads to use and -t 4 is the default. If I check in task monitor I can can utilize all CPU cores during a simulation. if you are really on a pc with just one cpu -t 1 might help to keep the one little CPU happier :-)

Another remark: If you do a lot of climb sims it helps to keep ownedcards.txt small. So if your deck consists of only quad fusions you could remove all normal epics and lower from ownedcards if you share my judgement that these cards won't improve your deck.

whatchamccallum commented 10 years ago

Sorry very indirectly related. Thank you I'll test and open a different issue of I have a problem. Also myself for not reading close enough. On Apr 1, 2014 9:20 AM, "zachanassian" notifications@github.com wrote:

whatchamccallum: not sure if multi threading is related to this feature. If not you could open another issue.

However tu_optimize supports multithreading. There is the option -t to specify the number of threads to use and -t 4 is the default. If I check in task monitor I can can utilize all CPU cores during a simulation.

Reply to this email directly or view it on GitHubhttps://github.com/zachanassian/tu_optimize/issues/12#issuecomment-39210565 .

zachanassian commented 10 years ago

Version 1.1 will allow entries like this in customdecks.txt

test_group: eerie-spam:0.2;nbd-spam:0.8
zachanassian commented 10 years ago

Version 1.1 released