Commit 1f9d1ff6 authored by mxx's avatar mxx

,,,

parent 6246cd5f
package cn.com.duiba.nezha.compute.common.model.pacing;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class TestMXX {
public static void main(String[] args){
OrientInfo OrientInfo1=new OrientInfo(11L,11111L,true,0,200L,90L,0.3,0.0,0.5);
OrientInfo OrientInfo2=new OrientInfo(22L,22222L,true,0,300L,50L,0.2,1.0,0.5);
OrientInfo OrientInfo3=new OrientInfo(33L,33333L,true,1,50L,50L,0.2,1.0,2.0);
OrientInfo OrientInfo4=new OrientInfo(44L,44444L,true,0,300L,50L,0.1,1.0,0.5);
List OrientinfoList = new ArrayList();
OrientinfoList.add(OrientInfo1);
OrientinfoList.add(OrientInfo2);
OrientinfoList.add(OrientInfo3);
OrientinfoList.add(OrientInfo4);
BlackInfo BlackInfo1=new BlackInfo(22L, 22222L);
List BlackInfoList = new ArrayList();
BlackInfoList.add(BlackInfo1);
List<OrientResultInfo> recommendList=SlotRecommender.recommend(OrientinfoList,BlackInfoList);
for (OrientResultInfo recommend:recommendList){
System.out.println(recommend);
System.out.println(recommend.advertId+"_"+recommend.orientId);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment