public EdgePulse addWeightedEdge(VertexPulse sourceVertex, VertexPulse targetVertex, int d, int t, int id) {
		if(d>Cd){
			Cd=d;
		}
		if(t>Ct){
			Ct=t;
		}
		vertexes[targetVertex.getID()].addReversedEdge(new EdgePulse(d, t, targetVertex , sourceVertex, id));
		vertexes[sourceVertex.getID()].magicIndex.add(id);
		return null;
	}