|Constructor and Description|
Constructor that caches a stream of previously calculated neighborhoods.
Constructor that calculates and caches user neighborhoods.
getNeighbors, getNeighbors, numUsers, uidx2user, user2uidx
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CachedUserNeighborhood(UserNeighborhood<U> neighborhood)
neighborhood- user neighborhood to be cached
public CachedUserNeighborhood(FastUserIndex<U> uIndex, Stream<org.jooq.lambda.tuple.Tuple2<U,Stream<Tuple2od<U>>>> neighborhoods)
uIndex- fast user index
neighborhoods- stream of already calculated neighborhoods
Copyright © 2016. All rights reserved.