Implemented interaction degree calculation method