public void AddOutGoing(BFGTDenseNode y) { Outgoing.Add(new KVP(y.Level, y)); y.InDegree++; if (!Bound.ContainsKey(0)) { Bound.Add(0, new Dictionary <int, int>()); Bound[0].Add(y.Index, 1); } if (!Count.ContainsKey(0)) { Count.Add(0, new Dictionary <int, int>()); Count[0].Add(y.Index, 0); } }