haal-0.5.0.0: A Haskell library for Active Automata Learning.
Safe HaskellNone
LanguageHaskell2010

Haal.EquivalenceOracle.WMethod

Description

This module implements the W-method equivalence oracle.

Synopsis

Documentation

data WMethod Source #

The WMethod type represents the W-method equivalence oracle.

Instances

Instances details
Show WMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

Eq WMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

Methods

(==) :: WMethod -> WMethod -> Bool #

(/=) :: WMethod -> WMethod -> Bool #

EquivalenceOracle WMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

Methods

testSuite :: (Automaton aut s, FiniteOrd i, FiniteOrd s, Eq o) => WMethod -> aut s i o -> (WMethod, [[i]]) Source #

newtype WMethodConfig Source #

The WMethodConfig type is used to configure the W-method equivalence oracle.

Constructors

WMethodConfig 

Fields

  • wmDepth :: Int

    The number of extra states beyond the hypothesis to account for.

wmethodSuiteSize :: (Automaton aut s, FiniteOrd i, FiniteOrd s, Eq o) => WMethod -> aut s i o -> Int Source #

The wmethodSuiteSize function computes the size of the test suite for the W-method.

data RandomWMethod Source #

The RandomWMethod type represents a random W-method equivalence oracle.

Instances

Instances details
Show RandomWMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

Eq RandomWMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

EquivalenceOracle RandomWMethod Source # 
Instance details

Defined in Haal.EquivalenceOracle.WMethod

Methods

testSuite :: (Automaton aut s, FiniteOrd i, FiniteOrd s, Eq o) => RandomWMethod -> aut s i o -> (RandomWMethod, [[i]]) Source #

data RandomWMethodConfig Source #

The RandomWMethodConfig type is used to configure the random W-method.

Constructors

RandomWMethodConfig 

Fields

mkWMethod :: WMethodConfig -> Either String WMethod Source #

Constructor for a WMethod value.