Choose Implementation
Description
Allow the user, on graph creation, to set the underlying implementation of the graph.
Example
graph = Graph.new #=> has some sort of default implementation
graph.implementation = :adjacency_list #=> Error
graph1 = Graph.new(implementation: :adjacency_list) #=> has adjacency list as implementation
Choose Implementation
Description
Allow the user, on graph creation, to set the underlying implementation of the graph.
Example