public void deleteNode(String inNodeName) throws InvalidNodeNameException {
		if (nodeTable.containsKey(inNodeName)) {	//test if node exist

			Node deletedNode = (Node) nodeTable.get(inNodeName);
                        deletedNode.stopTimers();
			deletedNode.removeAllLinks();
			nodeTable.remove(inNodeName); //remove node from hashtable

			//Remove any disconnected links from the simulation
			Enumeration keys = linkTable.keys();
			while (keys.hasMoreElements()) {
				String str = (String) keys.nextElement();
				Link tempLink = (Link) linkTable.get(str);
				if (tempLink.isNotConnected()) {
					linkTable.remove(str); //remove disconnected links from hashtable
				}
			}
		} else {
			throw new InvalidNodeNameException("Node does not exist within the simulation");
		}
	}