20template <
class Node_t>
24 ChildItImpl(
Node_t &
n,
size_t p) : node(
n), pos(
p) {}
25 ChildItImpl(
const ChildItImpl &
other) : node(
other.node), pos(
other.pos) {}
26 std::unique_ptr<typename child_iterator::Impl> clone()
const override
28 return std::make_unique<ChildItImpl>(node, pos);
30 void forward()
override { ++pos; }
32 Node_t ¤t()
override {
return node.child(pos); }
33 bool equal(
const typename child_iterator::Impl &
other)
const override
36 return it && &(it->node) == &(this->node) && (it->pos) == this->pos;
48template class JSONNode::child_iterator_t<JSONNode>;
49template class JSONNode::child_iterator_t<const JSONNode>;
54 std::stringstream
ss{
val()};
76template <
typename... Args>
79 return std::make_unique<TJSONTree>(std::forward<Args>(args)...);
94 std::stringstream
ss{str};
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
virtual std::string val() const =0
virtual double val_double() const
child_iterator_t< JSONNode > child_iterator
virtual children_view children()
virtual size_t num_children() const =0
virtual void writeJSON(std::ostream &os) const =0
child_iterator_t< const JSONNode > const_child_iterator
static std::unique_ptr< JSONTree > create()
static std::unique_ptr< JSONTree > createImpl(Args &&...args)
std::ostream & operator<<(std::ostream &os, RooFit::Detail::JSONNode const &s)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
void forward(const LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
apply the weights (and functions) in forward direction of the DNN
void backward(LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
backward application of the weights (back-propagation of the error)