C# Class MyMediaLite.Data.WeightedItem

Weighted items class
Inheritance: IComparable
Afficher le fichier Open project: zenogantner/MML-KDD Class Usage Examples

Méthodes publiques

Свойство Type Description
item_id int
weight double

Méthodes publiques

Méthode Description
CompareTo ( Object o ) : int
Equals ( Object o ) : bool
Equals ( WeightedItem otherItem ) : bool
GetHashCode ( ) : int
WeightedItem ( ) : System

Default constructor

WeightedItem ( int item_id, double weight ) : System

Constructor

Method Details

CompareTo() public méthode

public CompareTo ( Object o ) : int
o Object
Résultat int

Equals() public méthode

public Equals ( Object o ) : bool
o Object
Résultat bool

Equals() public méthode

public Equals ( WeightedItem otherItem ) : bool
otherItem WeightedItem
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

WeightedItem() public méthode

Default constructor
public WeightedItem ( ) : System
Résultat System

WeightedItem() public méthode

Constructor
public WeightedItem ( int item_id, double weight ) : System
item_id int the item ID
weight double the weight
Résultat System

Property Details

item_id public_oe property

Item ID
public int item_id
Résultat int

weight public_oe property

Weight
public double weight
Résultat double