Class DefaultRouter


  • public class DefaultRouter
    extends Object
    A [`Router`] implemented using [`find_route`].
    • Method Detail

      • of

        public static DefaultRouter of​(NetworkGraph network_graph,
                                       Logger logger)
        Creates a new router using the given [`NetworkGraph`] and [`Logger`].
      • as_Router

        public Router as_Router()
        Constructs a new Router which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned Router must be freed before this_arg is