Ejemplo n.º 1
0
 public void setup(Statistics statistics) {
   this.graphDistance = (GraphDistance) statistics;
   if (panel != null) {
     panel.setDirected(graphDistance.isDirected());
     panel.doNormalize(graphDistance.isNormalized());
   }
 }
Ejemplo n.º 2
0
 public void unsetup() {
   if (panel != null) {
     graphDistance.setDirected(panel.isDirected());
     graphDistance.setNormalized(panel.normalize());
   }
   panel = null;
   graphDistance = null;
 }