positivesDegree.put(maxPosV, posDegree + negDegree);
negatives.remove(maxNegV);
negativesDegree.remove(maxNegV);
} catch (VertexNotFoundException e) {
// on ajoute le sommet manquant... un tour pour rien
solvedGraph.addVertex(e.getVertex());
}
}
else {
try {
solvedGraph.addEdge(maxPosV.getId(), maxNegV.getId(), posDegree);