PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
pbat::graph::WeightedEdgeTraits< TWeightedEdge > Struct Template Reference

Traits for WeightedEdge. More...

#include <Adjacency.h>

Public Types

using ScalarType
 Scalar type of the graph edge weights.
 
using IndexType
 

Detailed Description

template<class TWeightedEdge>
struct pbat::graph::WeightedEdgeTraits< TWeightedEdge >

Traits for WeightedEdge.

Template Parameters
TWeightedEdgeWeightedEdge type instance

Member Typedef Documentation

◆ IndexType

template<class TWeightedEdge>
using pbat::graph::WeightedEdgeTraits< TWeightedEdge >::IndexType
Initial value:
std::remove_cvref_t<decltype(std::declval<TWeightedEdge>().row())>

Index type of the graph vertices

◆ ScalarType

template<class TWeightedEdge>
using pbat::graph::WeightedEdgeTraits< TWeightedEdge >::ScalarType
Initial value:
std::remove_cvref_t<
decltype(std::declval<TWeightedEdge>().value())>

Scalar type of the graph edge weights.


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