MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
cda_rail::Network::EdgeInput Struct Reference

Unified edge descriptor accepted by all public API functions. More...

#include <RailwayNetwork.hpp>

Public Member Functions

 EdgeInput (size_t i)
 EdgeInput (size_t a, size_t b)
 EdgeInput (std::string_view a, std::string_view b)
template<typename T1, typename T2>
 EdgeInput (const std::pair< T1, T2 > &p)
 EdgeInput (Edge edge)
 EdgeInput (std::string_view e_name)

Friends

class Network
class StationList
class Route

Detailed Description

Unified edge descriptor accepted by all public API functions.

Implicitly convertible from a numeric index (size_t), a pair of vertex indices, a pair of vertex names (std::string_view), or a full Edge object.

Constructor & Destructor Documentation

◆ EdgeInput() [1/6]

cda_rail::Network::EdgeInput::EdgeInput ( size_t i)
inline

◆ EdgeInput() [2/6]

cda_rail::Network::EdgeInput::EdgeInput ( size_t a,
size_t b )
inline

◆ EdgeInput() [3/6]

cda_rail::Network::EdgeInput::EdgeInput ( std::string_view a,
std::string_view b )
inline

◆ EdgeInput() [4/6]

template<typename T1, typename T2>
cda_rail::Network::EdgeInput::EdgeInput ( const std::pair< T1, T2 > & p)
inline

◆ EdgeInput() [5/6]

cda_rail::Network::EdgeInput::EdgeInput ( Edge edge)
inline

◆ EdgeInput() [6/6]

cda_rail::Network::EdgeInput::EdgeInput ( std::string_view e_name)
inline

◆ Network

friend class Network
friend

◆ Route

friend class Route
friend

◆ StationList

friend class StationList
friend

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