route: rename Map to NameMap

The `Map` type is renamed to `NameMap` to better reflect what it does.

`createFromAdjLsdb` and `createFromCoordinateLsdb` functions are changed
to static functions, to match how they are used in callsites.

Unnecessary shared_ptr usage in `createFromAdjLsdb` is eliminated.

Doxygen of `NameMap` is added or improved.

refs #5308

Change-Id: I05db235efc1c6719f14b96758e3acde7826aabe7
diff --git a/tests/route/test-hyperbolic-calculator.cpp b/tests/route/test-hyperbolic-calculator.cpp
index 5f22a53..7d50298 100644
--- a/tests/route/test-hyperbolic-calculator.cpp
+++ b/tests/route/test-hyperbolic-calculator.cpp
@@ -24,7 +24,7 @@
 #include "adjacency-list.hpp"
 #include "lsdb.hpp"
 #include "nlsr.hpp"
-#include "route/map.hpp"
+#include "route/name-map.hpp"
 #include "route/routing-table.hpp"
 
 #include "tests/io-key-chain-fixture.hpp"
@@ -100,7 +100,7 @@
     lsdb.installLsa(std::make_shared<CoordinateLsa>(coordC));
 
     auto lsaRange = lsdb.getLsdbIterator<CoordinateLsa>();
-    map.createFromCoordinateLsdb(lsaRange.first, lsaRange.second);
+    map = NameMap::createFromCoordinateLsdb(lsaRange.first, lsaRange.second);
   }
 
   void runTest(const double& expectedCost)
@@ -150,7 +150,7 @@
   ndn::DummyClientFace face;
   ConfParameter conf;
   Nlsr nlsr;
-  Map map;
+  NameMap map;
 
   RoutingTable& routingTable;
   AdjacencyList& adjacencies;