Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::detail::CantorEdge< T > Class Template Reference

#include <acts/blob/sPHENIX/Plugins/ExaTrkX/include/Acts/Plugins/ExaTrkX/detail/CantorEdge.hpp>

+ Collaboration diagram for Acts::detail::CantorEdge< T >:

Public Member Functions

 CantorEdge (T x, T y, bool sort=true)
 
std::pair< T, Tinverse () const
 
T value () const
 

Private Attributes

T m_value
 

Detailed Description

template<typename T>
class Acts::detail::CantorEdge< T >

Class that encapsulates a cantor pair, which represents an edge of a graph By default ensures all edges are ordered, so the represented graph is undirected: (a,b) and (b,a) are the same edge.

Definition at line 20 of file CantorEdge.hpp.

View newest version in sPHENIX GitHub at line 20 of file CantorEdge.hpp

Constructor & Destructor Documentation

template<typename T>
Acts::detail::CantorEdge< T >::CantorEdge ( T  x,
T  y,
bool  sort = true 
)
inline

Definition at line 24 of file CantorEdge.hpp.

View newest version in sPHENIX GitHub at line 24 of file CantorEdge.hpp

Member Function Documentation

template<typename T>
std::pair<T, T> Acts::detail::CantorEdge< T >::inverse ( ) const
inline

Definition at line 31 of file CantorEdge.hpp.

View newest version in sPHENIX GitHub at line 31 of file CantorEdge.hpp

template<typename T>
T Acts::detail::CantorEdge< T >::value ( ) const
inline

Definition at line 43 of file CantorEdge.hpp.

View newest version in sPHENIX GitHub at line 43 of file CantorEdge.hpp

Referenced by BOOST_AUTO_TEST_CASE(), and Acts::detail::operator==().

+ Here is the caller graph for this function:

Member Data Documentation

template<typename T>
T Acts::detail::CantorEdge< T >::m_value
private

The documentation for this class was generated from the following file: