lib/fa.rb
# Minimizes this automaton in place. Uses either Hopcroft's or
# Brzozowski's algorithm. Due to a stupid design mistake in +libfa+,
# the algorithm is selected through a global variable. It defaults to
# Hopcroft's algorithm though.
#
# @return [Fa::Automaton] this automaton
Minimizes this automaton in place. Uses either Hopcroft's or
Brzozowski's algorithm. Due to a stupid design mistake in +libfa+,
the algorithm is selected through a global variable. It defaults to
Hopcroft's algorithm though.
Minimizes this automaton in place . Uses either Hopcroft ' s or Brzozowski ' s algorithm . Due to a stupid design mistake in + libfa + the algorithm is selected through a global variable . It defaults to Hopcroft ' s algorithm though .
def minimize
      r = FFI::minimize(faptr)
      raise Error if r < 0
      self
    end
def minimize r = FFI :: minimize ( faptr ) raise Error if r < 0 self end
Minimizes this automaton in place.
Minimizes this automaton in place .
None
Fa::Automaton