I'm  looking for a class in jgrapht that will allow me to construct a graph 
dynamically and  generate  new edge  in  the given graph  at run
 time based on  branch of the algorithm .
 I need to implements the  algorithm branch & bound 
 I saw this class ListenableDirectedWeightedGraph  
Is it possible to add edges to a graph through the use of a loop
 with ListenableDirectedWeightedGraph ?  
                        
I build my graph with following code: