Crate rshyper_algo

Crate rshyper_algo 

Source
Expand description

§rshyper-algo

this crate provides algorithms and operators for hypergraphs.

§Features

  • astar: the A* search algorithm for hypergraphs
  • breadth_first: the breadth-first search algorithm for hypergraphs
  • depth_first: the depth-first search algorithm for hypergraphs
  • dijkstra: 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 the rshyper crate.
traits
this module implements additional traits for defining algorithmic operators on hypergraphs.

Traits§

GraphOperator
this trait is used to denote an algorithmic operator that can be applied to a hypergraph.
GraphSearch
The GraphSearch trait is an automatically implemented trait for types that implement both the Search and Traversal traits indicating it can successfully perform a search on some graph structure while also allowing traversal of the graph.
GraphicAlgorithm
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 the A* search implementation
PathFinder
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.