Default.Graph.SetWeightSum C# (CSharp) Method

SetWeightSum() public method

public SetWeightSum ( ) : void
return void
	public void SetWeightSum() {
		Edge temp = Efirst;
		WeightSum = 0;
		while(temp != null) {
			WeightSum += temp.Weight;
			temp = temp.Next;
		}
	}