Class: StateMachineChecker::CTL::AG

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

Overview

The universal always 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_g.rb', line 11

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

#to_sObject



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

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