Skip to content

Commit

Permalink
Fixing spacing in file paths and algorithm client limit
Browse files Browse the repository at this point in the history
  • Loading branch information
grf14003 committed Mar 11, 2020
1 parent 781ee5a commit 65f4e5e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion bfs/implementations/breadcrumbs/gen/AlgoBreadcrumbs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

int main()
{
Algorithm* algorithm = new AlgoBreadcrumbs(1);
Algorithm* algorithm = new AlgoBreadcrumbs(20);

// Loop
while (algorithm->loopCondition())
Expand Down
25 changes: 25 additions & 0 deletions bfs/scripts/log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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!
2 changes: 1 addition & 1 deletion bfs/scripts/startbfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 65f4e5e

Please sign in to comment.