| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Haal.EquivalenceOracle.WMethod
Description
This module implements the W-method equivalence oracle.
Synopsis
- data WMethod
- newtype WMethodConfig = WMethodConfig {}
- wmethodSuiteSize :: (Automaton aut s, FiniteOrd i, FiniteOrd s, Eq o) => WMethod -> aut s i o -> Int
- data RandomWMethod
- data RandomWMethodConfig = RandomWMethodConfig {}
- mkWMethod :: WMethodConfig -> Either String WMethod
- mkRandomWMethod :: RandomWMethodConfig -> Either String RandomWMethod
Documentation
The WMethod type represents the W-method equivalence oracle.
newtype WMethodConfig Source #
The WMethodConfig type is used to configure the W-method equivalence oracle.
Constructors
| WMethodConfig | |
Instances
| Show WMethodConfig Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods showsPrec :: Int -> WMethodConfig -> ShowS # show :: WMethodConfig -> String # showList :: [WMethodConfig] -> ShowS # | |
| Eq WMethodConfig Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods (==) :: WMethodConfig -> WMethodConfig -> Bool # (/=) :: WMethodConfig -> WMethodConfig -> Bool # | |
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
| Show RandomWMethod Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods showsPrec :: Int -> RandomWMethod -> ShowS # show :: RandomWMethod -> String # showList :: [RandomWMethod] -> ShowS # | |
| Eq RandomWMethod Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods (==) :: RandomWMethod -> RandomWMethod -> Bool # (/=) :: RandomWMethod -> RandomWMethod -> Bool # | |
| EquivalenceOracle RandomWMethod Source # | |
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 | |
Instances
| Show RandomWMethodConfig Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods showsPrec :: Int -> RandomWMethodConfig -> ShowS # show :: RandomWMethodConfig -> String # showList :: [RandomWMethodConfig] -> ShowS # | |
| Eq RandomWMethodConfig Source # | |
Defined in Haal.EquivalenceOracle.WMethod Methods (==) :: RandomWMethodConfig -> RandomWMethodConfig -> Bool # (/=) :: RandomWMethodConfig -> RandomWMethodConfig -> Bool # | |
mkRandomWMethod :: RandomWMethodConfig -> Either String RandomWMethod Source #
Constructor for a RandomWMethod value.