Sequoia
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
sequoia::maths::partial_edge_base< WeightHandler, IndexType > Class Template Reference

Combines the edge_base and weighting class. More...

#include <Edge.hpp>

Inheritance diagram for sequoia::maths::partial_edge_base< WeightHandler, IndexType >:
sequoia::maths::weighting< WeightHandler, IndexType > sequoia::maths::decorated_partial_edge_base< WeightHandler, MetaData, std::size_t > sequoia::maths::decorated_partial_edge_base< WeightHandler, MetaData, IndexType > sequoia::maths::decorated_partial_edge_base< WeightHandler, MetaData, IndexType > sequoia::maths::embedded_partial_edge< WeightHandler, MetaData, IndexType > sequoia::maths::partial_edge< WeightHandler, MetaData, IndexType >

Public Types

using index_type = IndexType
 
using weight_type = typename weighting< WeightHandler, IndexType >::weight_type
 
- Public Types inherited from sequoia::maths::weighting< WeightHandler, IndexType >
using weight_handler_type = WeightHandler
 
using weight_type = typename WeightHandler::value_type
 

Public Member Functions

template<class... Args>
requires (!resolve_to_copy_v<partial_edge_base, Args...>)
constexpr explicit (sizeof...(Args)==0) partial_edge_base(const index_type target
 
constexpr partial_edge_base (partial_edge_base &&) noexcept=default
 
constexpr IndexType target_node () const noexcept
 
constexpr void target_node (const index_type target) noexcept
 

Public Attributes

constexpr Args && args: weighting<WeightHandler
 
constexpr Args IndexType {std::forward<Args>(args)...}
 
constexpr Args m_Target
 

Protected Member Functions

constexpr partial_edge_baseoperator= (const partial_edge_base &)=default
 
constexpr partial_edge_baseoperator= (partial_edge_base &&) noexcept=default
 
- Protected Member Functions inherited from sequoia::maths::weighting< WeightHandler, IndexType >
constexpr weighting (const weighting &) noexcept=default
 
constexpr weighting (weighting &&) noexcept=default
 
constexpr weightingoperator= (const weighting &) noexcept=default
 
constexpr weightingoperator= (weighting &&) noexcept=default
 
constexpr weighting (const weighting &, const IndexType) noexcept
 

Friends

constexpr bool operator== (const partial_edge_base &, const partial_edge_base &) noexcept=default
 

Detailed Description

template<class WeightHandler, std::integral IndexType>
requires object::handler<WeightHandler>
class sequoia::maths::partial_edge_base< WeightHandler, IndexType >

Combines the edge_base and weighting class.

Member Data Documentation

◆ m_Target

template<class WeightHandler , std::integral IndexType>
constexpr Args sequoia::maths::partial_edge_base< WeightHandler, IndexType >::m_Target
Initial value:
{target}
{}
constexpr partial_edge_base(const index_type target, const partial_edge_base& other)
: weighting<WeightHandler, IndexType>{other}
Combines the edge_base and weighting class.
Definition: Edge.hpp:153
A class to store non-trivial edge weights.
Definition: Edge.hpp:51

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