Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下度在发送消息的时候为啥没用上 #1

Open
youngkangrui opened this issue Aug 12, 2020 · 1 comment
Open

请问下度在发送消息的时候为啥没用上 #1

youngkangrui opened this issue Aug 12, 2020 · 1 comment

Comments

@youngkangrui
Copy link

youngkangrui commented Aug 12, 2020

private double calcWeight(double lableW, double edgeW, double degreeW) {
if (Objects.equals(lableW, DEFAULT_W) && Objects.equals(lableW, DEFAULT_W) && Objects.equals(lableW, DEFAULT_W)) {
if (logger.isDebugEnabled()) {
logger.warn("边-顶点[label]-度 的权值为 label:[{}],edgeW:[{}],degreeW :[{}]", lableW, edgeW, degreeW);
}
return DEFAULT_W;
}
return Math.exp(edgeW + lableW);
}

@huangjia-cd
Copy link
Contributor

degree 权值在新版本下会进行使用,优化传播的效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants