U - type of the userspublic class CachedUserNeighborhood<U> extends UserNeighborhood<U>
CachedNeighborhood.neighborhood, uIndex| Constructor and Description |
|---|
CachedUserNeighborhood(FastUserIndex<U> uIndex,
Stream<org.jooq.lambda.tuple.Tuple2<U,Stream<Tuple2od<U>>>> neighborhoods)
Constructor that caches a stream of previously calculated neighborhoods.
|
CachedUserNeighborhood(UserNeighborhood<U> neighborhood)
Constructor that calculates and caches user neighborhoods.
|
getNeighbors, getNeighbors, numUsers, uidx2user, user2uidxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsUser, getAllUidx, getAllUsers, uidx2user, uidx2user, user2uidx, user2uidxpublic CachedUserNeighborhood(UserNeighborhood<U> neighborhood)
neighborhood - user neighborhood to be cachedpublic CachedUserNeighborhood(FastUserIndex<U> uIndex, Stream<org.jooq.lambda.tuple.Tuple2<U,Stream<Tuple2od<U>>>> neighborhoods)
uIndex - fast user indexneighborhoods - stream of already calculated neighborhoodsCopyright © 2016. All rights reserved.