BooleanPreference ClassNReco.Recommender Class Library
Encapsulates a simple bool "preference" for an item whose value does not matter (is fixed at 1.0). This is appropriate in situations where users conceptually have only a general "yes" preference for items, rather than a spectrum of preference values.
Inheritance Hierarchy

System Object
  NReco.CF.Taste.Impl.Model BooleanPreference

Namespace: NReco.CF.Taste.Impl.Model
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public sealed class BooleanPreference : IPreference

The BooleanPreference type exposes the following members.

Constructors

  NameDescription
Public methodBooleanPreference
Initializes a new instance of the BooleanPreference class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetItemID
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserID
Public methodGetValue
Public methodSetValue
Public methodToString (Overrides Object ToString .)
Top
See Also