Skip to content

Enforce LearningAlgorithm contracts more rigorously#163

Merged
mtf90 merged 6 commits into
LearnLib:developfrom
mtf90:learning-algorithm-contracts
Jul 8, 2026
Merged

Enforce LearningAlgorithm contracts more rigorously#163
mtf90 merged 6 commits into
LearnLib:developfrom
mtf90:learning-algorithm-contracts

Conversation

@mtf90

@mtf90 mtf90 commented Jul 8, 2026

Copy link
Copy Markdown
Member

This PR enforces the contracts of LearningAlgorithm more rigorously by throwing IllegalStateExceptions when, e.g., calling startLearning twice or calling refineHypothesis / getHypothesisModel before startLearning.

Fixes #161

@mtf90 mtf90 merged commit f020ddd into LearnLib:develop Jul 8, 2026
14 checks passed
@mtf90 mtf90 deleted the learning-algorithm-contracts branch July 8, 2026 18:47
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.

Make startLearning() throw an exception on repeated invocations

1 participant