abstract class Crystalline::Graph::MutableGraph(T, Edge, EdgeList)
- Crystalline::Graph::MutableGraph(T, Edge, EdgeList)
- Crystalline::Graph::Graph(T, Edge)
- Reference
- Object
Direct Known Subclasses
- Crystalline::Graph::AdjacencyGraph(T, EdgeList)
- Crystalline::Graph::DirectedAdjacencyGraph(T, EdgeList)
Defined in:
graph/mutable.crConstructors
Instance Method Summary
-
#==(x)
Returns
false
(other can only be aValue
here). - #add_edge(u, v)
- #add_edges(edges)
- #add_vertex(v)
- #add_vertices(a)
- #each_adjacent(v, &)
- #each_vertex(&)
- #has_edge?(u, v)
- #has_vertex?(v)
- #remove_edge(u, v)
- #remove_vertex(v)
- #remove_vertices(a)
Instance methods inherited from class Crystalline::Graph::Graph(T, Edge)
==(g)
==,
adjacent_vertices(v)
adjacent_vertices,
bfs_iterator(v = self.find do |x|
true
end)
bfs_iterator,
bfs_search_tree_from(v)
bfs_search_tree_from,
dfs_iterator(v = self.find do |x|
true
end)
dfs_iterator,
directed?
directed?,
each(&)
each,
each_adjacent(v, &block : T -> )
each_adjacent,
each_edge(&)
each_edge,
each_vertex(&block : T -> )
each_vertex,
edges
edges,
empty?
empty?,
eql?(g)
eql?,
has_vertex?(v)
has_vertex?,
num_edges
num_edges,
num_vertices
num_vertices,
out_degree(v)
out_degree,
reverse
reverse,
size
size,
to_adjacency
to_adjacency,
to_s(*args, **options)to_s(*args, **options, &) to_s, vertices vertices