diff --git a/bfs/CMakeLists.txt b/bfs/CMakeLists.txt index e406ff1..a345a5e 100644 --- a/bfs/CMakeLists.txt +++ b/bfs/CMakeLists.txt @@ -82,7 +82,7 @@ foreach(IMPL IN LISTS IMPLEMENTAIONS) # Adding implementation include include_directories("${IMPL_INCLUDE_PATH}") - set(Bfs_TEMP_ALGORITHM_CLIENT_LIMIT 1) + set(Bfs_TEMP_ALGORITHM_CLIENT_LIMIT 20) file(MAKE_DIRECTORY ${IMPL}/gen) diff --git a/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp b/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp index 458cf60..829ff90 100644 --- a/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp +++ b/bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp @@ -7,7 +7,7 @@ int main() { - Algorithm* algorithm = new AlgoBreadcrumbs(1); + Algorithm* algorithm = new AlgoBreadcrumbs(20); // Loop while (algorithm->loopCondition()) diff --git a/bfs/scripts/log.txt b/bfs/scripts/log.txt index 2a1ea89..3f83778 100644 --- a/bfs/scripts/log.txt +++ b/bfs/scripts/log.txt @@ -205,3 +205,28 @@ Listening for clients... Listening for clients... Hello new client! Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! +Listening for clients... +Hello new client! diff --git a/bfs/scripts/startbfs.py b/bfs/scripts/startbfs.py index c2f168e..c44aea0 100644 --- a/bfs/scripts/startbfs.py +++ b/bfs/scripts/startbfs.py @@ -12,7 +12,7 @@ def start_program(program): if not isinstance(program, str): raise ValueError("Argument passed to start_program_sync() should be a string") - command = "START /wait \"\" CMD /c \"" + program + "&pause\"" + command = "START /wait \"\" CMD /c \"\"" + program + "\"&pause\"" print("> " + command) return os.system(command)