匹配适合的算法或实现

时间:2016-01-09 08:18:55

标签: java algorithm bipartite matchmaking

问题

  • 我正在进行配对实施并寻找不同的解决方案。

  • 两个具有不同偏好的买家和卖家的数据集(如业务类型,位置,地区),提供不同的广告位

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

假设

            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 

研究

我研究了二分算法实现,它是一种矩阵,您必须设置买方是否想要满足卖方,卖方是否想要与买方见面,双方将给出结论。

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

0 个答案:

没有答案