public void setNodeWeight(int weight) {
   weightedNode.setNodeWeight(weight);
 }
 public int getNodeWeight() {
   return weightedNode.getNodeWeight();
 }