get_weight_func function

Default Weight and Chaining Functions