NodeData - shahar-furer/Ex2 GitHub Wiki

class NodeData includes :

  • getkey - return the key node .
  • getLocation- return the point .
  • setLocation - enable editing the location of the node.
  • getWeight- return the weight of the node.
  • setWeight- enable editing the weight of the node.
  • getInfo- return the info of the node.
  • setInfo- enable the info of the node .
  • getTag-return the tag of the node.
  • setTag- enable editing the tag of the node.
  • toString- return the node's key in a string.