Class: PgVerify::Interpret::LTLBuilder::LTLBuilderBefore
- Inherits:
-
LTLBuilderBase
- Object
- LTLBuilderBase
- PgVerify::Interpret::LTLBuilder::LTLBuilderBefore
- Defined in:
- lib/pg-verify/interpret/spec/ltl_builder.rb
Instance Attribute Summary collapse
-
#q ⇒ Object
Returns the value of attribute q.
Instance Method Summary collapse
- #exists(p) ⇒ Object
- #global(p) ⇒ Object
-
#initialize(q) ⇒ LTLBuilderBefore
constructor
A new instance of LTLBuilderBefore.
- #never(p) ⇒ Object
- #precedes(p, s) ⇒ Object
- #reacts(p, s) ⇒ Object
Methods inherited from LTLBuilderBase
Constructor Details
#initialize(q) ⇒ LTLBuilderBefore
Returns a new instance of LTLBuilderBefore.
69 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 69 def initialize(q); @q = q end |
Instance Attribute Details
#q ⇒ Object
Returns the value of attribute q.
68 69 70 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 68 def q @q end |
Instance Method Details
#exists(p) ⇒ Object
76 77 78 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 76 def exists(p) end |
#global(p) ⇒ Object
70 71 72 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 70 def global(p) end |
#never(p) ⇒ Object
73 74 75 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 73 def never(p) build "( F q ) => ( !(p) U q )", { p: p, q: q } end |
#precedes(p, s) ⇒ Object
82 83 84 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 82 def precedes(p, s) end |
#reacts(p, s) ⇒ Object
79 80 81 |
# File 'lib/pg-verify/interpret/spec/ltl_builder.rb', line 79 def reacts(p, s) end |