class ADSL::DS::DSEitherLambdaObjset

Public Instance Methods

prepare_action(translation) click to toggle source
# File lib/adsl/spass/spass_ds_extensions.rb, line 454
def prepare_action(translation); end
resolve_action_objset(translation, ps, o) click to toggle source
# File lib/adsl/spass/spass_ds_extensions.rb, line 456
def resolve_action_objset(translation, ps, o)
  translation.reserve_names :r do |r|
    implications = []
    @either.blocks.length.times do |i|
      implications << FOL::Implies.new(@either.is_trues[i][r], @vars[i].resolve_action_objset(translation, ps, o))
    end
    
    return FOL::ForAll.new(:r, FOL::Implies.new(
      @either.resolution_link[ps, r],
      FOL::And.new(implications)
    ))
  end
end