0f04241fc90f134af0272eb0999e75fb6749b595Pavel Březina # Hets has problems finding the conjecture of TPTP if we pass the
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik # theorems-array in the prove-request.
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik @need_to_normalize_timeout = opts.has_key?(:timeout)
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik @need_to_normalize_timeout = opts.has_key?(:timeout)
b24e4bec819b29f1ec8e77083d4e7610c5dd9c77Lukas Slebodnik SINGLE_THEOREM_INPUT_TYPES.include?(options[:'input-type'])
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina @options[:node] = @ontology.name if @ontology.in_distributed?
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina options.delete(:theorems) if single_theorem_input_type?
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina # This is already a prepared string (sentence name).
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina # Hets considers the given timeout as "timeout per goal"
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina # Ontohub considers the selected timeout as "overall timeout"
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina # This should be normalized once after setting the timeout.
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina # Hets can only handle integers as the timeout.