Constructs a sampled graph node based on passed parent nodes or values.
The arity of this operator should have the same arity as one of the constructors of D or compilation will fail. The passed arguments can either be of the base type required by the constructor of D or can be of type graph_node_t<T> where T is one of the base types required by the constructor of D. The arguments are evaluated from left to right.
- Template Parameters
-
Args | Types of arguments to pass to the constructor of D |
- Parameters
-
args | arguments to pass to the constructor of D |
- Returns
- graph_node<D>