Default.Graph.SetWeightSum C# (CSharp) Méthode

SetWeightSum() public méthode

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