shanive/bgu-ailab-bandits — Issue #60: create instance by class name
Author: shanive
Created: 2011-11-16 13:45:34+00:00
State: open

David,

When we implemented tournament on python, we got the agents' class names from command line and used a "getattr" function.
Is there any way of doing this on c++, that you know of? otherwise i will have to use "if" statement on every agent we have.

Thanks,
Vered.