-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Here are the use cases of this library. I want to add traffic data to my router DB, and... it's absolutely unclear how to do it!
When checking the example, only encoding and decoding in one router DB are showed. There are a couple of questions about this example:
- What should I do when I want to organize data communication between two router DBs? By data communication I mean deserialized memory mapped router DB, which can change it's edge or vertex information at runtime. All that's complexity is for traffic data.
- If I need to serialize my router DB, when should I do this? Here the preparations of that DB:
var routerDb = _repository.GetRouterDb(); // simply adds edges and vertices
routerDb.AddSupportedVehicle(_profile.Parent);
routerDb.Network.Sort();
routerDb.OptimizeNetwork();
routerDb.Network.Compress();
routerDb.AddContracted(_profile);
seems that DB must be serialized after adding supported vehicle.
Metadata
Metadata
Assignees
Labels
No labels