DefaultNamespace.Graph.SetWeightSum C# (CSharp) 메소드

SetWeightSum() 공개 메소드

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