2

问题

  • 我正在研究匹配实施并寻找不同的解决方案。

  • 具有不同偏好(如业务类型、位置、地区)的买家和卖家的两个数据集可用不同的时段

  • 我需要根据他们的可用性和对彼此的兴趣来安排时间

认为

            wants to meet(order by preference matching)

Buyer1 ----------------------  Seller 1 , Seller 2 , Seller 10
Available Slots for Buyer  10.00AM to 11:00AM ,11:00 to 12:00 etc 
Buyer2 ----------------------  Seller 11 , Seller 20 , Seller 10
Available Slots for Buyer  10.00AM to 11:00AM ,11:00 to 12:00 etc 

Seller1 ---------------------- buyer10, buyer2,buyer1
Available Slots for Buyer  10.00AM to 11:00AM ,11:00 to 12:00 etc 

Seller2 ---------------------- buyer1, buyer2,buyer10
Available Slots for Buyer  11:00 to 12:00, 12:00pm to 1:00 PM etc 

研究

我研究了二分算法的实现,它是一种矩阵,您必须在其中设置买方是否要与卖方会面以及卖方是否要与买方会面,然后二分法会给您一个结论。

如果我的理解有误,请纠正我。

4

0 回答 0