Connect++ 0.4.0
A fast, readable connection prover for first-order logic.
Loading...
Searching...
No Matches
add_fof_formula Struct Reference

More complex semantic action for FOF formulas. More...

#include <TPTPParser.hpp>

Public Member Functions

void operator() (qi::unused_type, qi::unused_type, qi::unused_type) const
 

Detailed Description

More complex semantic action for FOF formulas.

Functions etc to make a FOF formula.

Definition at line 616 of file TPTPParser.hpp.

Member Function Documentation

◆ operator()()

void add_fof_formula::operator() ( qi::unused_type ,
qi::unused_type ,
qi::unused_type  ) const

Definition at line 1386 of file TPTPParser.cpp.

1387 {
1388 if (include_this_item) {
1389 all_formulas.push_back(current_formula);
1390 formula_roles.push_back(current_formula_role);
1391 formula_names.push_back(current_formula_name);
1392 if (current_formula_role == string("conjecture"))
1393 conjecture_found = true;
1394#ifdef DEBUGOUTPUT
1395 cout << current_formula.to_string() << endl;
1396#endif
1397 }
1398 current_formula_role = "";
1399 }
string to_string() const
Convert a FOF into a nice-looking string.
Definition FOF.cpp:1160

The documentation for this struct was generated from the following files: