Expand description
§rshyper-algo
this crate provides algorithms and operators for hypergraphs.
§Features
astar
: enables the A* search algorithm for hypergraphsbreadth_first
: enables the breadth-first search algorithm for hypergraphsdepth_first
: enables the depth-first search algorithm for hypergraphsdijkstra
: enables 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
- depth_
first - this module implements the depth-first search algorithm
- dijkstra
- this module implements the Dijkstra’s algorithm for finding the shortest path in a hypergraph
- error
- this module implements the
AlgoError
type for algorithms in thershyper
crate. - traits
- this module implements additional traits for defining algorithmic operators on hypergraphs.
Enums§
- Algo
Error - The error type for this crate
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
- A trait defining a search algorithm for a hypergraph
- Traversal
Traversal
trait defines an interface for operators capable of traversing some type, which in this case is a hypergraph.
Type Aliases§
- Algo
Result - A type alias for a Result with the crate-specific error type
AlgoError