Vertices don't have a single parent; they can be affected by up to four bones. So what you will actually need to store (if this is the purpose of the exercise) is four floating point values representing how much influence each of the four bones has over the vertex.