Weighted items class. More...
Public Member Functions | |
| int | CompareTo (Object o) |
| bool | Equals (WeightedItem otherItem) |
| override bool | Equals (Object o) |
| override int | GetHashCode () |
| WeightedItem (int item_id, double weight) | |
| Constructor. | |
| WeightedItem () | |
| Default constructor. | |
Public Attributes | |
| int | item_id |
| Item ID. | |
| double | weight |
| Weight. | |
Weighted items class.
| WeightedItem | ( | ) |
Default constructor.
| WeightedItem | ( | int | item_id, | |
| double | weight | |||
| ) |
Constructor.
| item_id | the item ID | |
| weight | the weight |
| int item_id |
Item ID.
| double weight |
Weight.
1.6.3