|
Alexandria
2.27.0
SDC-CH common library for the Euclid project
|


Public Member Functions | |
| po::options_description | defineSpecificProgramOptions () override |
| void | generateGraphviz (Node< double > &node, int nparams) |
| std::map< int, std::pair < py::object, std::shared_ptr < Node< double > > > > | getFunctions () |
| std::pair< std::vector< double > , Arguments > | createParameters (int n) |
| void | runPython (boost::python::object func, const std::vector< double > &args) |
| void | runCpp (const std::shared_ptr< Node< double >> &node, const Arguments &args) |
| std::vector< double > | measure (std::function< void(void)> func) |
| void | evalExamples () |
| Elements::ExitCode | mainMethod (std::map< std::string, po::variable_value > &args) override |
Public Member Functions inherited from Elements::Program | |
| virtual ExitCode | mainMethod (std::map< std::string, VariableValue > &args)=0 |
Private Attributes | |
| int | m_threads |
| int | m_repeats |
| fs::path | m_dot_file |
Main program
Definition at line 60 of file Example.cpp.
|
inline |
Definition at line 135 of file Example.cpp.
|
inlineoverridevirtual |
Reimplemented from Elements::Program.
Definition at line 67 of file Example.cpp.
|
inline |
Definition at line 178 of file Example.cpp.
References std::endl(), std::fixed(), Elements::Logging::info(), logger, runCpp(), runPython(), std::setprecision(), and std::setw().

|
inline |
Definition at line 77 of file Example.cpp.
References Elements::Logging::info(), logger, std::to_string(), and Pyston::NodeBase::visit().

|
inline |
Extract callables from Python, both Python and "compiled"
Definition at line 94 of file Example.cpp.
References Elements::Logging::info(), logger, and std::make_pair().

|
inlineoverride |
Definition at line 212 of file Example.cpp.
References std::map< K, T >::at(), std::map< K, T >::count(), Elements::OK, PYSTON_MODULE_INIT, and Pyston::ExpressionTreeBuilder::registerFunction().

|
inline |
Definition at line 158 of file Example.cpp.
References std::vector< T >::emplace_back().

|
inline |
Definition at line 152 of file Example.cpp.
Referenced by evalExamples().
|
inline |
Definition at line 145 of file Example.cpp.
Referenced by evalExamples().
|
private |
Definition at line 64 of file Example.cpp.
|
private |
Definition at line 63 of file Example.cpp.
|
private |
Definition at line 63 of file Example.cpp.
1.8.5