Skip to content

Lack of documentation #94

@YuriiNskyi

Description

@YuriiNskyi

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:

  1. 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.
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions