def score(self, match):
"""
Return the one bond scoring matrix
Parameters:
-----------
match: array
match_matrix
Returns:
--------
score_matrix
"""
score_matrix = -settings.bond_weight * np.fromfunction(self.evaluate_score_matrix_vect, match.shape, match=match, dtype=int)
return score_matrix
评论列表
文章目录