Skip to content

Commit 265b685

Browse files
committed
fix typo
1 parent b610dab commit 265b685

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

incremental/src/main/java/net/automatalib/incremental/dfa/tree/IncrementalDFATreeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public Void getTransitionProperty(Node transition) {
260260
@Override
261261
public Collection<Node> getStates() {
262262
List<Node> result = new ArrayList<>();
263-
Iterators.addAll(result, TSTraversal.breathFirstIterator(this, inputAlphabet));
263+
Iterators.addAll(result, TSTraversal.breadthFirstIterator(this, inputAlphabet));
264264
return result;
265265
}
266266

incremental/src/main/java/net/automatalib/incremental/mealy/tree/AbstractAlphabetBasedMealyTreeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private class MealyMachineView extends TransitionSystemView
109109
@Override
110110
public Collection<Node<O>> getStates() {
111111
List<Node<O>> result = new ArrayList<>();
112-
Iterators.addAll(result, TSTraversal.breathFirstIterator(this, inputAlphabet));
112+
Iterators.addAll(result, TSTraversal.breadthFirstIterator(this, inputAlphabet));
113113
return result;
114114
}
115115

incremental/src/main/java/net/automatalib/incremental/moore/tree/IncrementalMooreTreeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public Node<O> getSuccessor(Node<O> transition) {
266266
@Override
267267
public Collection<Node<O>> getStates() {
268268
List<Node<O>> result = new ArrayList<>();
269-
Iterators.addAll(result, TSTraversal.breathFirstIterator(this, alphabet));
269+
Iterators.addAll(result, TSTraversal.breadthFirstIterator(this, alphabet));
270270
return result;
271271
}
272272

util/src/main/java/net/automatalib/util/ts/traversal/TSTraversal.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public static <S, I, T, D> boolean breadthFirst(TransitionSystem<S, ? super I, T
182182
* @return an {@link Iterable} for the (reachable) states of the given transition system in breadth-first order
183183
*/
184184
public static <S, I> Iterable<S> breadthFirstOrder(TransitionSystem<S, I, ?> ts, Collection<? extends I> inputs) {
185-
return () -> breathFirstIterator(ts, inputs);
185+
return () -> breadthFirstIterator(ts, inputs);
186186
}
187187

188188
/**
@@ -199,7 +199,7 @@ public static <S, I> Iterable<S> breadthFirstOrder(TransitionSystem<S, I, ?> ts,
199199
*
200200
* @return an {@link Iterator} for the (reachable) states of the given transition system in breadth-first order
201201
*/
202-
public static <S, I> Iterator<S> breathFirstIterator(TransitionSystem<S, I, ?> ts, Collection<? extends I> inputs) {
202+
public static <S, I> Iterator<S> breadthFirstIterator(TransitionSystem<S, I, ?> ts, Collection<? extends I> inputs) {
203203
return new BreadthFirstIterator<>(ts, inputs);
204204
}
205205

0 commit comments

Comments
 (0)