in graphjet-core/src/main/java/com/twitter/graphjet/algorithms/counting/tweet/TopSecondDegreeByCountRequestForTweet.java [56:87]
public TopSecondDegreeByCountRequestForTweet(
long queryNode,
Long2DoubleMap leftSeedNodesWithWeight,
LongSet toBeFiltered,
Set<RecommendationType> recommendationTypes,
Map<RecommendationType, Integer> maxNumResultsByRecType,
int maxSocialProofTypeSize,
int maxUserSocialProofSize,
int maxTweetSocialProofSize,
Map<RecommendationType, Integer> minUserSocialProofSizes,
byte[] socialProofTypes,
long maxRightNodeAgeInMillis,
long maxEdgeAgeInMillis,
ResultFilterChain resultFilterChain,
Set<byte[]> socialProofTypeUnions
) {
super(
queryNode,
leftSeedNodesWithWeight,
toBeFiltered,
maxSocialProofTypeSize,
socialProofTypes,
maxRightNodeAgeInMillis,
maxEdgeAgeInMillis,
resultFilterChain);
this.recommendationTypes = recommendationTypes;
this.maxNumResultsByType = maxNumResultsByRecType;
this.maxUserSocialProofSize = maxUserSocialProofSize;
this.maxTweetSocialProofSize = maxTweetSocialProofSize;
this.minUserSocialProofSizes = minUserSocialProofSizes;
this.socialProofTypeUnions = socialProofTypeUnions;
}