Class: StateMachineChecker::CTL::AX

Inherits:
UnaryOperator show all
Defined in:
lib/state_machine_checker/ctl/a_x.rb

Overview

The universal next operator.

Instance Method Summary collapse

Methods inherited from UnaryOperator

#atoms, #initialize

Methods inherited from Formula

#AU, #EU, #and, #implies, #or

Constructor Details

This class inherits a constructor from StateMachineChecker::CTL::UnaryOperator

Instance Method Details

#check(model) ⇒ CheckResult

Parameters:

Returns:



11
12
13
# File 'lib/state_machine_checker/ctl/a_x.rb', line 11

def check(model)
  Not.new(CTL::EX.new(Not.new(subformula))).check(model)
end

#to_sObject



15
16
17
# File 'lib/state_machine_checker/ctl/a_x.rb', line 15

def to_s
  "AX(#{subformula})"
end