| Package | Description |
|---|---|
| org.grouplens.lenskit.scored |
Associate IDs with scores.
|
| Modifier and Type | Method and Description |
|---|---|
ScoredIdBuilder |
ScoredIdBuilder.addChannel(Symbol symbol,
double value)
Add a new unboxed side channel to the
ScoredId under construction. |
<K> ScoredIdBuilder |
ScoredIdBuilder.addChannel(TypedSymbol<K> symbol,
K value)
Add a new side channel to the
ScoredId under construction. |
ScoredIdBuilder |
ScoredIdBuilder.clearChannels()
Removes all channels (typed and double) from new
ScoredId objects produced by the builder. |
static ScoredIdBuilder |
ScoredIds.copyBuilder(ScoredId id)
Create a new builder initialized to copy the specified scored ID.
|
static ScoredIdBuilder |
ScoredIds.newBuilder()
Create a new builder.
|
ScoredIdBuilder |
ScoredIdBuilder.setId(long id)
Change the ID of the
ScoredID object under construction. |
ScoredIdBuilder |
ScoredIdBuilder.setScore(double score)
Change the score of the
ScoredId object under construction. |
Copyright © 2013 GroupLens Research. All Rights Reserved.