Skip to content

Commit

Permalink
optimize KV
Browse files Browse the repository at this point in the history
  • Loading branch information
emuskardin committed Mar 5, 2024
1 parent 8b5c6d8 commit 072931d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aalpy/learning_algs/deterministic/ClassificationTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from aalpy.base import SUL
from aalpy.learning_algs.deterministic.CounterExampleProcessing import rs_cex_processing, linear_cex_processing, \
exponential_cex_processing
from aalpy.utils.HelperFunctions import visualize_classification_tree

automaton_class = {'dfa': Dfa, 'mealy': MealyMachine, 'moore': MooreMachine}

Expand Down Expand Up @@ -336,7 +335,7 @@ def update(self, cex: tuple, hypothesis):
def process_counterexample(self, cex: tuple, hypothesis, cex_processing_fun):
"""
Updates the classification tree based on a counterexample,
using Rivest & Schapire's counterexample processing
using Rivest & Schapire counterexample processing
- Replace the CTLeafNode labeled with the access string of the state
that is reached by the sequence cex[:j-1] in the hypothesis
with an CTInternalNode with two CTLeafNodes: one keeps the old
Expand Down

0 comments on commit 072931d

Please sign in to comment.