5 #ifndef BPP_PHYL_LIKELIHOOD_DATAFLOW_SIMPLEX_DF_H
6 #define BPP_PHYL_LIKELIHOOD_DATAFLOW_SIMPLEX_DF_H
13 #include <unordered_map>
51 throw bpp::Exception(
"ConfiguredSimplex clone should not happen.");
96 using T = Eigen::RowVectorXd;
const Parameter & parameter(const std::string &name) const override
const ParameterList & getParameters() const override
Context for dataflow node construction.
NodeRef derive(Context &c, const Node_DF &node) final
Returns a node computing d(this_node_expression)/d(node_expression).
static std::shared_ptr< Self > create(Context &c, NodeRefVec &&deps)
std::string color() const final
void compute() final
Computation implementation.
FrequenciesFromSimplex(NodeRefVec &&deps, const Dimension< T > &dim)
bool compareAdditionalArguments(const Node_DF &other) const final
Compare node-specific configuration to another.
NodeRef recreate(Context &c, NodeRefVec &&deps) final
Recreate the node with different dependencies.
Dimension< T > targetDimension_
std::string debugInfo() const final
Node debug info (default = ""): user defined detailed info for DF graph debug.
Base dataflow Node class.
Abstract Node storing a value of type T.
Defines the basic types of data flow nodes.
std::vector< NodeRef > NodeRefVec
Alias for a dependency vector (of NodeRef).
std::shared_ptr< Node_DF > NodeRef
Store a dimension for type T.
Configuration for a numerical derivation: what delta to use, and type of derivation.