A simple
IDataModel which uses a given list of users as its data source. This implementation
is mostly useful for small experiments and is not recommended for contexts where performance is important.
System.Object NReco.CF.Taste.Impl.Model.AbstractDataModel NReco.CF.Taste.Impl.Model.GenericDataModelNamespace: NReco.CF.Taste.Impl.ModelAssembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
[SerializableAttribute]
public sealed class GenericDataModel : AbstractDataModel
[SerializableAttribute]
public sealed class GenericDataModel : AbstractDataModel
<SerializableAttribute>
Public NotInheritable Class GenericDataModel
Inherits AbstractDataModel
<SerializableAttribute>
Public NotInheritable Class GenericDataModel
Inherits AbstractDataModel
[SerializableAttribute]
public ref class GenericDataModel sealed : public AbstractDataModel
[SerializableAttribute]
public ref class GenericDataModel sealed : public AbstractDataModel
[<SealedAttribute>]
[<SerializableAttribute>]
type GenericDataModel =
class
inherit AbstractDataModel
end
[<SealedAttribute>]
[<SerializableAttribute>]
type GenericDataModel =
class
inherit AbstractDataModel
end
The GenericDataModel type exposes the following members.
Top
| Name | Description |
---|
 | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
 | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
 | GetItemIDs | (Overrides AbstractDataModel.GetItemIDs().) |
 | GetItemIDsFromUser | (Overrides AbstractDataModel.GetItemIDsFromUser(Int64).) |
 | GetMaxPreference | (Inherited from AbstractDataModel.) |
 | GetMinPreference | (Inherited from AbstractDataModel.) |
 | GetNumItems | (Overrides AbstractDataModel.GetNumItems().) |
 | GetNumUsers | (Overrides AbstractDataModel.GetNumUsers().) |
 | GetNumUsersWithPreferenceFor(Int64) | (Overrides AbstractDataModel.GetNumUsersWithPreferenceFor(Int64).) |
 | GetNumUsersWithPreferenceFor(Int64, Int64) | (Overrides AbstractDataModel.GetNumUsersWithPreferenceFor(Int64, Int64).) |
 | GetPreferencesForItem | (Overrides AbstractDataModel.GetPreferencesForItem(Int64).) |
 | GetPreferencesFromUser | (Overrides AbstractDataModel.GetPreferencesFromUser(Int64).) |
 | GetPreferenceTime | (Overrides AbstractDataModel.GetPreferenceTime(Int64, Int64).) |
 | GetPreferenceValue | (Overrides AbstractDataModel.GetPreferenceValue(Int64, Int64).) |
 | GetRawItemData | This is used mostly internally to the framework, and shouldn't be relied upon otherwise. |
 | GetRawUserData | This is used mostly internally to the framework, and shouldn't be relied upon otherwise. |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | GetUserIDs | (Overrides AbstractDataModel.GetUserIDs().) |
 | HasPreferenceValues | (Overrides AbstractDataModel.HasPreferenceValues().) |
 | Refresh | (Overrides AbstractDataModel.Refresh(IList<IRefreshable>).) |
 | RemovePreference | (Overrides AbstractDataModel.RemovePreference(Int64, Int64).) |
 | SetPreference | (Overrides AbstractDataModel.SetPreference(Int64, Int64, Single).) |
  | ToDataMap(IDataModel) | Exports the simple user IDs and preferences in the data model. |
  | ToDataMap(FastByIDMap<IList<IPreference>>, Boolean) | |
 | ToString | (Overrides Object.ToString().) |
Top