[Task] Help with java project
help with a data science project
Hello i have created this project: https://gitlab.com/antleypk/networking/-/tree/java
develop branch is proper branch. my java files are here: https://gitlab.com/antleypk/networking/-/tree/java/inc/networking_java
there is a cli on top of a sorting algo.
The idea is that given 84 customers and 12 leaders and 12 tables. how can we seat everyone in ways to make them meet as many new people as possible.
We started out with a random shuffle for the first iteration.
I wanted to use a greedy algo for the optimization so I made a method called greedy_fill_tables and it should be telling me which table has the least amount of known people at it.
the code runs like this
1.main
2. cli
3. create event
4. run event
5. fill tables random
6. fill tables greedy
7. write to csv.
the fill tables greedy is failing, it keeps returning only table id 11.
we have traced the error to get_greedy_table_id() line 65 at time of post; url: https://gitlab.com/antleypk/networking/-/blob/java/inc/networking_java/Tables.java
https://redd.it/hr6vw3
@slavelabour
help with a data science project
Hello i have created this project: https://gitlab.com/antleypk/networking/-/tree/java
develop branch is proper branch. my java files are here: https://gitlab.com/antleypk/networking/-/tree/java/inc/networking_java
there is a cli on top of a sorting algo.
The idea is that given 84 customers and 12 leaders and 12 tables. how can we seat everyone in ways to make them meet as many new people as possible.
We started out with a random shuffle for the first iteration.
I wanted to use a greedy algo for the optimization so I made a method called greedy_fill_tables and it should be telling me which table has the least amount of known people at it.
the code runs like this
1.main
2. cli
3. create event
4. run event
5. fill tables random
6. fill tables greedy
7. write to csv.
the fill tables greedy is failing, it keeps returning only table id 11.
we have traced the error to get_greedy_table_id() line 65 at time of post; url: https://gitlab.com/antleypk/networking/-/blob/java/inc/networking_java/Tables.java
https://redd.it/hr6vw3
@slavelabour