Skip to content

add fuel model, pivot-through, free pivot, and flexible constraints#63

Open
afrind wants to merge 1 commit intonornagon:mainfrom
afrind:enhanced-planning
Open

add fuel model, pivot-through, free pivot, and flexible constraints#63
afrind wants to merge 1 commit intonornagon:mainfrom
afrind:enhanced-planning

Conversation

@afrind
Copy link
Copy Markdown

@afrind afrind commented Feb 16, 2026

Fuel: track fuel rate (fraction), capacity, and fuel steps metric. Paths exceeding fuel capacity are pruned in getNeighbors.

Pivots: direction changes through Hohmanns support pivot-through (continue moving after changing direction). Free pivot makes the first direction change per turn cost 0 burns instead of 2.

Constraints: any metric can have a max value; paths exceeding a constraint are pruned in makeDominancePrune. Constraint inputs shown inline in PathInfo.

Fuel: track fuel rate (fraction), capacity, and fuel steps metric.
Paths exceeding fuel capacity are pruned in getNeighbors.

Pivots: direction changes through Hohmanns support pivot-through
(continue moving after changing direction). Free pivot makes the
first direction change per turn cost 0 burns instead of 2.

Constraints: any metric can have a max value; paths exceeding a
constraint are pruned in makeDominancePrune. Constraint inputs
shown inline in PathInfo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant