Skip to content

Close the leftovers of the edge-case review - #577

Merged
dmeoli merged 4 commits into
masterfrom
fix/leftovers
Dec 2, 2026
Merged

dmeoli merged 4 commits into
masterfrom
fix/leftovers

Conversation

@dmeoli

@dmeoli dmeoli commented Dec 2, 2026

Copy link
Copy Markdown
Member
  • the FOL parser reads the whole input: King(John) AND Evil(Richard) is the conjunction, not King(John), and a token left after the sentence raises
  • PLAN-ROUTE and PLAN-SHOT of the hybrid wumpus agents return an Optional, empty when no goal can be reached, so a missing route is no longer an empty one and no shot is planned from the wrong square
  • SubsumptionElimination also compares clauses of the same length, so P(x) eliminates P(A)
  • Baum-Welch without observations returns the model, and with one keeps the transition model, as aima-python

…er the sentence

The connectives at the top level read as if the input were parenthesized, so
King(John) AND Evil(Richard) is no longer read as King(John); the tests whose
inputs had a stray closing parenthesis are corrected.
planRoute, planRouteToRooms and planShot return an Optional, empty when no
goal can be reached; PLAN-SHOT no longer appends a shot to a missing route.
…s with one

As aima-python, a parameter without expected counts keeps its value instead of
raising.
@dmeoli
dmeoli marked this pull request as ready for review December 2, 2026 02:27
@dmeoli
dmeoli merged commit fd0cfe9 into master Dec 2, 2026
1 check passed
@dmeoli
dmeoli deleted the fix/leftovers branch December 2, 2026 02:27
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