Go to the source code of this file.
|
#define | TRACE(message, n) |
|
◆ TRACE
#define TRACE |
( |
|
message, |
|
|
|
n |
|
) |
| |
Value: { \
std::cerr << "\nComputationGraphBuilder: " << message << " at " << to_string((n).locationInfo) << "\n"; \
std::cerr <<
"value (" << std::setw(3) <<
value.size() <<
") = " <<
value.top() <<
"\n"; \
<< "\n"; \
std::cerr <<
"filter (" << std::setw(3) <<
filter.size() <<
") = " <<
filter.top() <<
"\n"; \
<< "\n"; \
std::cerr << printCodeContext(
script_, &n); \
std::string c; \
do { \
std::cerr << "(c)ontext (s)sa-form (q)uit "; \
std::getline(std::cin, c); \
if (c == "c") \
std::cerr <<
"<<<<\n" <<
context_ <<
">>>>\n"; \
else if (c == "s") \
else if (c == "q") \
} while (c == "c" || c == "s"); \
} \
}
SafeStack< std::size_t > value_node
const std::string script_
SafeStack< ValueType > value
SafeStack< std::size_t > filter_node
const std::vector< std::string > opLabels_
SafeStack< Filter > filter
std::string ssaForm(const ComputationGraph &g, const std::vector< std::string > &opCodeLabels, const std::vector< T > &values)
Definition at line 40 of file computationgraphbuilder.cpp.
◆ g_
◆ opLabels_
const std::vector<std::string> opLabels_ |
◆ model_
const QuantLib::ext::shared_ptr<ModelCG> model_ |
◆ size_
◆ generatePayLog_
const bool generatePayLog_ |
◆ includePastCashflows_
const bool includePastCashflows_ |
◆ script_
const std::string script_ |
◆ interactive_
◆ keepNodes_
std::set<std::size_t>& keepNodes_ |
◆ payLogEntries_
std::vector<ComputationGraphBuilder::PayLogEntry>& payLogEntries_ |
◆ context_
◆ lastVisitedNode_
ASTNode*& lastVisitedNode_ |
◆ filter
◆ value
SafeStack<ValueType> value |
◆ filter_node
SafeStack<std::size_t> filter_node |
◆ value_node
SafeStack<std::size_t> value_node |