Refactor: scheduler: rename merge_weights() method
... to add_colocated_node_scores() and its primary_id argument to log_id to better reflect their purposes, add a doxygen block, and declare the implementations in the library-private header.