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

Add option for how triadic closure link is formed #15

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

mannbach
Copy link
Contributor

Adds an option to choose how the triadic closure link is chosen.

If tc_uniform is set to True (default follows previous behavior), a target node will be chosen uniform at random from the candidate set.
Otherwise, the get_target_probabilities_regular-routine is executed which is implemented differently in each class. For instance, PATCH would bias the triadic closure links by preferential attachment and homophily.

@mannbach mannbach added the enhancement New feature or request label Aug 30, 2023
Copy link
Contributor

@lisette-espin lisette-espin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@lisette-espin lisette-espin merged commit 2300c97 into main Aug 30, 2023
3 checks passed
@mannbach mannbach deleted the no_pa branch August 30, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants