aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* add multithreaded executableAiden Woodruff2025-11-281-8/+11
| | | | | | | | | | | - src/many-async.cc: leverage std::async to run concurrent experiments. - CMakeLists.txt: add memory list option and make it default to ON. - src/CMakeLists.txt: make the NameGame.cc into a library now that it's being used by three different executables. - add compile definition with tipping points cmake option. - add many-async executable. Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
* split main executable into many and oneAiden Woodruff2025-11-221-3/+8
| | | | | | | | | | - src/main.cc: remove file. - src/one.cc: add executable to do a single game run and write the strategy record. - src/many.cc: add executable to run many trials at each minority size. - write adoption amount. Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
* created encapsulated NameGame classAiden Woodruff2025-11-141-1/+4
| | | | | | | | | | | | | | - src/CMakeLists.txt: add NameGame.cc. - src/NameGame.cc: move best_move, update_memory, run round, round into this class and file. - move begin/end for TVec here. - add initGraph and initMemory for changing sizes. - src/NameGame.h: add class declaration. - main.cc: move all functions out of here. - use one object and re initialize memory for different committed minority sizes. Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
* add SNAP libraryAiden Woodruff2025-10-221-0/+2
- cmake/GetSNAP.cmake: add module that uses ExternalProject to download and build (with make) the SNAP library. - CMakeLists.txt: simple cmake file to use the GetSNAP module. - src/main.cc: simples possible main file. - src/CMakeLists.txt: simple cmake file with main executable and linking. Signed-off-by: Aiden Woodruff <woodra@rpi.edu>