LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lal::decl_detail::BuiltNetwork Struct Reference

A network build plus the name maps the environment compiler needs. More...

#include <line/lang/lal/network_decl.h>

Collaboration diagram for line::lal::decl_detail::BuiltNetwork:

Public Member Functions

 BuiltNetwork (const std::string &name)

Public Attributes

qn::Network< double > model
std::map< std::string, std::size_t > nodes
 name -> 1-based node index
std::map< std::string, std::size_t > classes
 name -> 1-based class index

Detailed Description

A network build plus the name maps the environment compiler needs.

Definition at line 409 of file network_decl.h.

Constructor & Destructor Documentation

◆ BuiltNetwork()

line::lal::decl_detail::BuiltNetwork::BuiltNetwork ( const std::string & name)
inlineexplicit

Definition at line 413 of file network_decl.h.

References model.

Member Data Documentation

◆ classes

std::map<std::string, std::size_t> line::lal::decl_detail::BuiltNetwork::classes

name -> 1-based class index

Definition at line 412 of file network_decl.h.

Referenced by line::lal::build_environment(), and line::lal::decl_detail::build_network_impl().

◆ model

qn::Network<double> line::lal::decl_detail::BuiltNetwork::model

◆ nodes

std::map<std::string, std::size_t> line::lal::decl_detail::BuiltNetwork::nodes

name -> 1-based node index

Definition at line 411 of file network_decl.h.

Referenced by line::lal::build_environment(), and line::lal::decl_detail::build_network_impl().


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