public final class MinimizationOperations extends Object
Modifier and Type | Method and Description |
---|---|
static Automaton |
minimize(Automaton a,
int maxDeterminizedStates)
Minimizes (and determinizes if not already deterministic) the given
automaton using Hopcroft's algorithm.
|
public static Automaton minimize(Automaton a, int maxDeterminizedStates)
maxDeterminizedStates
- maximum number of states determinizing the
automaton can result in. Set higher to allow more complex queries and
lower to prevent memory exhaustion.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.