SequentialDiversification Class Reference

Sequential diversification. More...

List of all members.

Public Member Functions

IList< int > DiversifySequential (IList< int > item_list, float diversification_parameter)
 Diversify an item list.
 SequentialDiversification (CorrelationMatrix item_correlation)
 Constructor.

Static Public Member Functions

static float Similarity (ICollection< int > items, CorrelationMatrix item_correlation)
 Compute the intra-set similarity of an item collection.
static float Similarity (int item_id, ICollection< int > items, CorrelationMatrix item_correlation)
 Compute similarity between one item and a collection of items.

Detailed Description

Sequential diversification.

Literature:


Constructor & Destructor Documentation

SequentialDiversification ( CorrelationMatrix  item_correlation  )  [inline]

Constructor.

Parameters:
item_correlation the similarity measure to use for diversification

Member Function Documentation

IList<int> DiversifySequential ( IList< int >  item_list,
float  diversification_parameter 
) [inline]

Diversify an item list.

Parameters:
item_list a list of items
diversification_parameter the diversification parameter (higher means more diverse)
Returns:
a list re-ordered to ensure maximum diversity at the top of the list
static float Similarity ( ICollection< int >  items,
CorrelationMatrix  item_correlation 
) [inline, static]

Compute the intra-set similarity of an item collection.

Parameters:
items a collection of items
item_correlation the similarity measure to use
Returns:
the intra-set similarity of the collection
static float Similarity ( int  item_id,
ICollection< int >  items,
CorrelationMatrix  item_correlation 
) [inline, static]

Compute similarity between one item and a collection of items.

Parameters:
item_id the item ID
items a collection of items
item_correlation the similarity measure to use
Returns:
the similarity between the item and the collection

The documentation for this class was generated from the following file:
Generated on Fri Mar 2 21:19:32 2012 for MyMediaLite by  doxygen 1.6.3