class RGL::BellmanFordAlgorithm
def initialize(graph, edge_weights_map, visitor)
Initializes Bellman-Ford algorithm for a _graph_ with provided edges weights map.
def initialize(graph, edge_weights_map, visitor) @graph = graph @edge_weights_map = EdgePropertiesMap.new(edge_weights_map, @graph.directed?) @visitor = visitor end