I think another project can be invoke-------------a project about calculating the most valuable route.It can help designer to create map and player to enjoy the game.
I am a newbie and I got confused about make the structure of data.For example,I consider the city(may be town/country in game) as a point and it has an array which contains next step information and its attributes.The array element stores next step city id and the step length and the array length indicates the branch numbers.
But if data is designed like this ,it means a fairly amount data is duplicate.When I find this phenomenon,I think I make a mistake: judge things from their relationships instead of themselves.
But then how to make the data structure?
I think another project can be invoke-------------a project about calculating the most valuable route.It can help designer to create map and player to enjoy the game.
I am a newbie and I got confused about make the structure of data.For example,I consider the city(may be town/country in game) as a point and it has an array which contains next step information and its attributes.The array element stores next step city id and the step length and the array length indicates the branch numbers.
But if data is designed like this ,it means a fairly amount data is duplicate.When I find this phenomenon,I think I make a mistake: judge things from their relationships instead of themselves.
But then how to make the data structure?