#include "DataFormats/Math/interface/Graph.h"
#include "DataFormats/Math/interface/GraphWalker.h"
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
template<class N , class E > | |
void | graph_combine (const math::Graph< N, E > &g1, const math::Graph< N, E > &g2, const N &n1, const N &n2, const N &root, math::Graph< N, E > &result) |
template<class N , class E > | |
void | graph_tree_output (const math::Graph< N, E > &g, const N &root, std::ostream &os) |
template<class N , class E > | |
void | output (const math::Graph< N, E > &g, const N &root) |
void graph_combine | ( | const math::Graph< N, E > & | g1, |
const math::Graph< N, E > & | g2, | ||
const N & | n1, | ||
const N & | n2, | ||
const N & | root, | ||
math::Graph< N, E > & | result | ||
) |
Definition at line 22 of file GraphUtil.h.
References math::Graph< N, E >::addEdge(), math::GraphWalker< N, E >::current(), plotBeamSpotDB::first, diffTwoXMLs::g1, N, math::GraphWalker< N, E >::next(), math::Graph< N, E >::nodeData(), class-composition::parent, math::Graph< N, E >::replace(), and math::GraphWalker< N, E >::stack().
void graph_tree_output | ( | const math::Graph< N, E > & | g, |
const N & | root, | ||
std::ostream & | os | ||
) |
Definition at line 37 of file GraphUtil.h.
References math::GraphWalker< N, E >::current(), egammaForCoreTracking_cff::depth, math::GraphWalker< N, E >::firstChild(), math::GraphWalker< N, E >::nextSibling(), math::GraphWalker< N, E >::parent(), alignCSCRings::s, math::GraphWalker< N, E >::stack(), AlCaHLTBitMon_QueryRunRegistry::string, and w.
void output | ( | const math::Graph< N, E > & | g, |
const N & | root | ||
) |
Definition at line 10 of file GraphUtil.h.
References gather_cfg::cout, math::GraphWalker< N, E >::current(), math::GraphWalker< N, E >::next(), and w.