Classes | Namespaces | Typedefs | Functions
ICluster.h File Reference
#include "WireCellIface/IChannel.h"
#include "WireCellIface/IWire.h"
#include "WireCellIface/IBlob.h"
#include "WireCellIface/ISlice.h"
#include "WireCellIface/WirePlaneId.h"
#include "WireCellUtil/IndexedGraph.h"
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/connected_components.hpp>
#include <variant>

Go to the source code of this file.

Classes

struct  WireCell::cluster_node_t
 
struct  std::hash< WireCell::cluster_node_t >
 
class  WireCell::ICluster
 

Namespaces

 WireCell
 

Typedefs

typedef std::variant< size_t, IChannel::pointer, IWire::pointer, IBlob::pointer, ISlice::pointer, IChannel::shared_vector > WireCell::cluster_ptr_t
 The vertex property. More...
 
typedef boost::adjacency_list< boost::setS, boost::vecS, boost::undirectedS, cluster_node_t > WireCell::cluster_graph_t
 
typedef boost::graph_traits< cluster_graph_t >::vertex_descriptor WireCell::cluster_vertex_t
 
typedef boost::graph_traits< cluster_graph_t >::edge_descriptor WireCell::cluster_edge_t
 
typedef boost::graph_traits< cluster_graph_t >::vertex_iterator WireCell::cluster_vertex_iter_t
 
typedef IndexedGraph< cluster_node_t > WireCell::cluster_indexed_graph_t
 

Functions

template<typename Type >
std::vector< TypeWireCell::oftype (const cluster_indexed_graph_t &g)
 
template<typename Type >
std::vector< TypeWireCell::neighbors_oftype (const cluster_indexed_graph_t &g, const cluster_node_t &n)