A weight object primarily encapsulates a numerical value that represents the weight between one node and another.
权重对象主要封装一个表示一个节点与另一个节点之间的权重的数值。
2
Net.py (see Resources for a link) keeps track of the lowest and greatest weights, and it will display a key to the numerical values of the colors in the weight display.