//inline bool NodeID::operator <(const NodeID &nid)const bool NodeID::operator <(const NodeID &nid)const { return this->toString()<nid.toString(); }
NodeID::NodeID(const NodeID &n) { idArray = new char[129]; strncpy(idArray, n.toString().c_str(), 128); idArray[n.toString().size()] = '\0'; };