Initial version of VNS algorithm #8

Merged
bustikiller merged 20 commits from vns into main 2024-08-01 18:27:42 +00:00
Showing only changes of commit 95da6141ac - Show all commits

View File

@ -60,9 +60,7 @@ module Tables
end
def number_of_groups(table)
table.map do |person|
person.affinity_groups
end.flatten.uniq.count
table.map(&:affinity_groups).flatten.uniq.count
end
end
end