Sha256: b79d2cd46a62bf0fb6b97ea9e5c39296a8ebfa5bd74ca5d59e1a46feadbbcbbe

Contents?: true

Size: 619 Bytes

Versions: 7

Compression:

Stored size: 619 Bytes

Contents

module Stamina
  module Dsl
    module Induction

      #
      # Coerces `arg` to a Sample
      #
      def sample(arg)
        Sample.coerce(arg)
      end

      #
      # Learn a regular language from `arg` using the RPNI algorithm.
      #
      def rpni(arg)
        regular Stamina::Induction::RPNI.execute(sample(arg))
      end

      #
      # Learn a regular language from `arg` using the RPNI algorithm.
      #
      def blue_fringe(arg)
        regular Stamina::Induction::BlueFringe.execute(sample(arg))
      end

    end # module Induction
    include Induction
  end # module Dsl
end # module Stamina

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stamina-induction-0.6.1 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.6.0 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.5.4 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.5.3 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.5.2 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.5.1 lib/stamina-induction/stamina/dsl/induction.rb
stamina-induction-0.5.0 lib/stamina-induction/stamina/dsl/induction.rb