shortest-paths - Solve and review weighted shortest-path problems
Choose, prove, implement, or review algorithms for weighted shortest paths, negative cycles, path reconstruction, and related graph reductions.
Tags
Updated: 2026-11-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Identify the path model
- Choose matching algorithms
- Prove algorithm correctness
- Analyze negative-cycle semantics
- Reconstruct shortest paths
- Report cycle witnesses
- Review production contracts
Inputs
- Weighted graph
- Source vertex
- Path output requirements
- Graph representation
- Tie-breaking rules
- Negative-cycle semantics
- Distance domain
Outputs
- Algorithm recommendation
- Correctness explanation
- Distance values
- Predecessor tree
- Shortest path
- Negative-cycle witness
- Affected-vertex markers
- Production API contract
Requirements
- Parent clrs skill
- elementary-graph-algorithms skill
- Display LaTeX support
