Skip to content

anzhisheng/Higher-order-interactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

05989f0 · Jan 24, 2024

History

10 Commits
Jan 24, 2024
Jan 24, 2024
Jan 24, 2024
Jan 24, 2024
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023
Nov 7, 2023

Repository files navigation

Higher-order-interactions

DESCRIPTION

This is a Matlab program designed for calculating the benefit-to-cost ratio of any higher-order networks.

FILE

Crucial functions:

--f_cal_remeet_time_two: function to calculate two-dimensional coalescence time for any network.

--f_cal_remeet_time_three: function to calculate three-dimensional coalescence time for any network.

--f_cal_remeet_time_four: function to calculate four-dimensional coalescence time for any network.

--f_get_bcratio_accumulate: function to calculate the critical benefit-to-cost ratio of any higher-order networks based on the accumulated payoff.

--f_get_bcratio_average_type1: function to calculate the critical benefit-to-cost ratio of any higher-order networks based on the uncoupled average payoff.

--f_get_bcratio_average_type2: function to calculate the critical benefit-to-cost ratio of any higher-order networks based on the coupled average payoff.

Three examples are provided to show the calculation of the critical benefit-to-cost ratio of a given higher-order network based on the accumulated payoff:

--Main_higher_order_star.m: calculate the critical benefit-to-cost ratio of higher-order star networks.

--Main_conjoin_well_mixed.m: calculate the critical benefit-to-cost ratio of conjoined complete networks.

--Main_conjoin_rich_club.m: calculate the critical benefit-to-cost ratio of conjoined rich club networks.

QUESTIONS

For any question about this program, please contact

Dr. Anzhi Sheng, Email: saz2019@pku.edu.cn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages