1 #ifndef RecoEcal_EgammaCoreTools_GraphMap_h 2 #define RecoEcal_EgammaCoreTools_GraphMap_h 56 typedef std::vector<std::pair<uint, std::vector<uint>>>
GraphOutput;
const GraphOutput & getGraphOutput()
void mergeSubGraphs(float threshold, GraphOutput seedsGraph, GraphOutputMap nodesGraphMap)
uint getAdjMatrix(const uint i, const uint j) const
std::map< uint, uint > nodesCount_
void addNode(const uint index, const NodeCategory category)
void resolveSuperNodesEdges(float threshold)
const std::vector< uint > & getInEdges(const uint i) const
void addNodes(const std::vector< uint > &indices, const std::vector< NodeCategory > &categories)
const std::vector< uint > & getOutEdges(const uint i) const
void collectNodes(GraphMap::CollectionStrategy strategy, float threshold)
std::vector< std::pair< uint, std::vector< uint > > > GraphOutput
void setAdjMatrix(const uint i, const uint j, const float score)
std::vector< float > getAdjMatrixCol(const uint j) const
std::vector< float > getAdjMatrixRow(const uint i) const
std::map< NodeCategory, std::vector< uint > > nodesCategories_
std::vector< std::vector< uint > > edgesOut_
void assignHighestScoreEdge()
std::map< std::pair< uint, uint >, float > adjMatrix_
void addEdge(const uint i, const uint j)
std::map< uint, std::vector< uint > > GraphOutputMap
void setAdjMatrixSym(const uint i, const uint j, const float score)
void collectCascading(float threshold)
std::pair< GraphOutput, GraphOutputMap > collectSeparately(float threshold)
std::vector< std::vector< uint > > edgesIn_