Class: Lernen::Equiv::VPASimulatorOracle
- Defined in:
- lib/lernen/equiv/vpa_simulator_oracle.rb
Overview
VPASimulatorOracle provides an implementation of equivalence query that finds a counterexample by simulating the VPA.
Instance Attribute Summary
Attributes inherited from Oracle
Instance Method Summary collapse
- #find_cex(hypothesis) ⇒ Object
- #initialize(alphabet, call_alphabet, return_alphabet, vpa, sul) ⇒ VPASimulatorOracle constructor
Methods inherited from Oracle
Constructor Details
#initialize(alphabet, call_alphabet, return_alphabet, vpa, sul) ⇒ VPASimulatorOracle
: (
Array[In] alphabet,
Array[Call] call_alphabet,
Array[Return] return_alphabet,
Automaton::VPA[In, Call, Return] vpa,
System::SUL[In | Call | Return, bool] sul
) -> void
25 26 27 28 29 30 31 32 |
# File 'lib/lernen/equiv/vpa_simulator_oracle.rb', line 25 def initialize(alphabet, call_alphabet, return_alphabet, vpa, sul) super(sul) @alphabet = alphabet @call_alphabet = call_alphabet @return_alphabet = return_alphabet @vpa = vpa end |