LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::mdd::MddLocalMatrix< T >::Builder Class Reference

Incremental triplet builder; duplicate entries are accumulated. More...

#include <line/api/mdd/mdd_types.h>

Public Member Functions

 Builder (std::size_t d)
Builderadd (std::size_t i, std::size_t j, const T &value)
 Accumulate value into entry (i,j).
MddLocalMatrix< T > build () const

Detailed Description

template<class T>
class line::mdd::MddLocalMatrix< T >::Builder

Incremental triplet builder; duplicate entries are accumulated.

Definition at line 75 of file mdd_types.h.

Constructor & Destructor Documentation

◆ Builder()

template<class T>
line::mdd::MddLocalMatrix< T >::Builder::Builder ( std::size_t d)
inlineexplicit

Definition at line 77 of file mdd_types.h.

Referenced by add().

Member Function Documentation

◆ add()

template<class T>
Builder & line::mdd::MddLocalMatrix< T >::Builder::add ( std::size_t i,
std::size_t j,
const T & value )
inline

Accumulate value into entry (i,j).

A zero value is dropped.

Definition at line 80 of file mdd_types.h.

References Builder(), and line::InputError::InputError().

Referenced by line::spn::spn_mdd().

◆ build()


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