Graph operations.
Attributes
Members list
Type members
Classlikes
Depth-first search visitor.
Generic graph implementation created from a nodes collection and an adjacent nodes function.
Generic graph implementation created from a nodes collection and an adjacent nodes function.
Attributes
- Supertypes
Attributes
- Supertypes
- Self type
Reversed mutable map graph implementation.
Reversed mutable map graph implementation.
Attributes
- Supertypes
-
class MutableMapGraph[N]trait Mutable[N]trait Clearabletrait GenericGraph[N]trait Graph[N]class Objecttrait Matchableclass AnyShow all
Weighted graph implementation created from a nodes collection, an adjacent nodes function, and a weight function.
Weighted graph implementation created from a nodes collection, an adjacent nodes function, and a weight function.
Attributes
- Supertypes
Value members
Concrete methods
Create a map graph from a given map of nodes to adjacent nodes.
Create a map graph from a given map of nodes to adjacent nodes.
Attributes
Create a map graph from a given sequence of nodes and adjacent nodes.
Create a map graph from a given sequence of nodes and adjacent nodes.
Attributes
Create a generic graph from a given nodes collection and an adjacent nodes function.
Create a generic graph from a given nodes collection and an adjacent nodes function.
Attributes
Create a mutable map graph from a given sequence of edges.
Create a mutable map graph from a given sequence of edges.
Attributes
Create a mutable map graph from a given iterator of edges.
Create a mutable map graph from a given iterator of edges.
Attributes
Create a weighted graph from a given sequence of nodes and adjacent nodes with weights.
Create a weighted graph from a given sequence of nodes and adjacent nodes with weights.
Attributes
Create a mutable map graph from a given graph.
Create a mutable map graph from a given graph.
Attributes
Create a reversed mutable map graph from a given graph.
Create a reversed mutable map graph from a given graph.
Attributes
Read a graph from a given adjacent list file.
Read a graph from a given adjacent list file.
Attributes
Read a weighted graph from a given adjacent weight list file.
Read a weighted graph from a given adjacent weight list file.
Attributes
Read a graph from a given edge list file.
Read a graph from a given edge list file.
Attributes
Extensions
Extensions
Breath-first search of the whole graph
Breath-first search of the whole graph
Attributes
Breath-first search of the graph starting at given node
Breath-first search of the graph starting at given node
Attributes
Depth-first search of the whole graph
Depth-first search of the whole graph
Attributes
Depth-first search of the whole graph in the given node's order
Depth-first search of the whole graph in the given node's order
Attributes
Depth-first search (recursive) of the graph starting at given node
Depth-first search (recursive) of the graph starting at given node
Attributes
Depth-first search (iterative) of the graph starting at given node
Depth-first search (iterative) of the graph starting at given node
Attributes
Find cycles in the graph.
Find cycles in the graph.
Attributes
Find cycles in the graph starting at given node.
Find cycles in the graph starting at given node.
Attributes
Merges two graphs without duplicating existing nodes
Merges two graphs without duplicating existing nodes
Attributes
Merge two nodes in the mutable map graph.
Merge two nodes in the mutable map graph.
Attributes
Returns a new graph containing only all the transitive predecessors and successors of the given node.
Returns a new graph containing only all the transitive predecessors and successors of the given node.
Attributes
Returns a new graph containing only all the transitive predecessors and successors of the given nodes.
Returns a new graph containing only all the transitive predecessors and successors of the given nodes.
Attributes
Returns a new graph containing only all the transitive predecessors of the given node.
Returns a new graph containing only all the transitive predecessors of the given node.
Attributes
Returns a new graph containing only all the transitive predecessors of the given nodes.
Returns a new graph containing only all the transitive predecessors of the given nodes.
Attributes
Count the number of random cuts in the graph.
Count the number of random cuts in the graph.
Attributes
Sort the graph topologically.
Sort the graph topologically.
Attributes
Returns a new graph containing only all the transitive successors of the given node.
Returns a new graph containing only all the transitive successors of the given node.
Attributes
Returns a new graph containing only all the transitive successors of the given nodes.
Returns a new graph containing only all the transitive successors of the given nodes.
Attributes
Dijkstra algorithm finds shortest path in directed graph
Dijkstra algorithm finds shortest path in directed graph
Attributes
Dijkstra algorithm finds the shortest path in a directed graph
Dijkstra algorithm finds the shortest path in a directed graph
Attributes
Dijkstra algorithm finds all shortest paths starting at given node in directed graph
Dijkstra algorithm finds all shortest paths starting at given node in directed graph
Attributes
Dijkstra algorithm finds all shortest paths starting at given node in directed graph
Dijkstra algorithm finds all shortest paths starting at given node in directed graph