Report question

Question: How to change edges' weight by designated rule?