users.add(getUser("test3", 0.4, 0.3, 0.5, 0.1, 0.1));
users.add(getUser("test4", 0.7, 0.3, 0.8, 0.5, 0.6));
DataModel dataModel = new GenericDataModel(users);
Collection<GenericItemSimilarity.ItemItemSimilarity> similarities =
new ArrayList<GenericItemSimilarity.ItemItemSimilarity>(10);
Item item1 = new GenericItem<String>("0");
Item item2 = new GenericItem<String>("1");
Item item3 = new GenericItem<String>("2");
Item item4 = new GenericItem<String>("3");
Item item5 = new GenericItem<String>("4");
similarities.add(new GenericItemSimilarity.ItemItemSimilarity(item1, item2, 1.0));
similarities.add(new GenericItemSimilarity.ItemItemSimilarity(item1, item3, 0.8));
similarities.add(new GenericItemSimilarity.ItemItemSimilarity(item1, item4, -0.6));
similarities.add(new GenericItemSimilarity.ItemItemSimilarity(item1, item5, 1.0));
similarities.add(new GenericItemSimilarity.ItemItemSimilarity(item2, item3, 0.9));