Module rules

Module rules 

Source
Expand description

Reduction rules between NP-hard problems.

Re-exports§

pub use cost::CustomCost;
pub use cost::Minimize;
pub use cost::MinimizeSteps;
pub use cost::PathCostFn;
pub use registry::ReductionEntry;
pub use registry::ReductionOverhead;

Modules§

analysis
Analysis utilities for the reduction graph.
cost
Cost functions for reduction path optimization.
registry
Automatic reduction registration via inventory.
unitdiskmapping
Graph to grid graph mapping.

Structs§

NeighborInfo
Information about a neighbor in the reduction graph.
NeighborTree
A tree node for neighbor traversal results.
ReductionAutoCast
Generic reduction result for natural-edge (subtype) reductions.
ReductionChain
A composed reduction chain produced by ReductionGraph::reduce_along_path.
ReductionEdgeInfo
A source/target pair from the reduction graph, returned by ReductionGraph::outgoing_reductions and ReductionGraph::incoming_reductions.
ReductionGraph
Runtime graph of all registered reductions.
ReductionPath
A path through the variant-level reduction graph.
ReductionStep
A node in a variant-level reduction path.

Enums§

TraversalDirection
Direction for graph traversal.

Traits§

ReduceTo
Trait for problems that can be reduced to target type T.
ReductionResult
Result of reducing a source problem to a target problem.