Expand description
§rshyper-algo
this crate provides algorithms and operators for hypergraphs.
§Features
astar
: the A* search algorithm for hypergraphsbreadth_first
: the breadth-first search algorithm for hypergraphsdepth_first
: the depth-first search algorithm for hypergraphsdijkstra
: Dijkstra’s algorithm for finding the shortest path in hypergraphs
Re-exports§
pub use self::astar::AStarSearch;
pub use self::breadth_first::BreadthFirstTraversal;
pub use self::depth_first::DepthFirstTraversal;
pub use self::dijkstra::Dijkstra;
Modules§
- astar
- this module implements the A* search algorithm
- breadth_
first - this module implements the breadth-first search algorithm this module implements the breadth-first search algorithm as an operator on the hypergraph.
- depth_
first - this module implements the depth-first search algorithm this module implements a Depth-First Traversal algorithm for hypergraphs
- dijkstra
- this module implements the Dijkstra’s algorithm for finding the shortest path in a hypergraph this module implements Dijkstra’s shortest-path algorithm for hypergraphs
- error
- this module implements the
Error
type for algorithms and operators for hypergraphs in thershyper
crate. - traits
- this module implements additional traits for defining algorithmic operators on hypergraphs.
Traits§
- Graph
Operator - this trait is used to denote an algorithmic operator that can be applied to a hypergraph.
- Graph
Search - The
GraphSearch
trait is an automatically implemented trait for types that implement both theSearch
andTraversal
traits indicating it can successfully perform a search on some graph structure while also allowing traversal of the graph. - Graphic
Algorithm - this trait is used to denote an algorithm that can be applied to a hypergraph
- Heuristic
Heuristic
defines a common interface for heuristic functions compatible with theA*
search implementation- Path
Finder - The
PathFinder
establishes an interface for path-finding operators on hypergraphs. Each implementor will provide a particular algorithm for finding paths between any two vertices in a hypergraph. - Search
- The
Search
establishes a common interface for operators on hypergraphs capable of performing a search. - Traversal
Traversal
trait defines an interface for operators capable of traversing some type, which in this case is a hypergraph.