LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Toggle main menu visibility
Loading...
Searching...
No Matches
network_import.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2012-2026, QORE Lab, Imperial College London
3
* All rights reserved.
4
*/
5
#ifndef LINE_LANG_LAL_NETWORK_IMPORT_H
6
#define LINE_LANG_LAL_NETWORK_IMPORT_H
7
8
/**
9
* @file
10
* @ingroup line_lang
11
* LINE Agent Language (LAL): the private import of one stationary MAP/MMAP
12
* process from a LINE network struct.
13
*
14
* `Composition.from_network_ctmc` and the public `Agent.from_network_process`
15
* were removed on 2026-11-15: a LINE model now enters a composition by
16
* embedding it (`Composition::add`), which reads SolverCTMC's own generator
17
* node by node. The process import survives as an internal constructor of
18
* `detail::Records` (records.h), forwarded here under its former name.
19
*/
20
21
#include <optional>
22
#include <string>
23
#include <vector>
24
25
#include "
line/lang/lal/builder.h
"
26
#include "
line/lang/qn/network_struct.h
"
27
28
namespace
line
{
29
namespace
lal
{
30
namespace
detail {
31
32
/**
33
* One stationary MAP/MMAP process of a LINE network struct
34
* (`_Records.from_network_process`). `station` and `jobclass` are zero-based;
35
* a marked source is imported from its first-mark carrier with one label per
36
* mark; with no labels a MAP is labelled `arrival`.
37
*/
38
inline
Agent agent_from_network_process(
const
std::string& name,
const
qn::NetworkStruct<double>& sn,
39
std::size_t station, std::size_t jobclass,
40
const
std::optional<std::vector<std::string>>& labels = std::nullopt,
41
std::size_t initial = 0) {
42
return
Records::from_network_process(name, sn, station, jobclass, labels, initial);
43
}
44
45
}
// namespace detail
46
}
// namespace lal
47
}
// namespace line
48
49
#endif
// LINE_LANG_LAL_NETWORK_IMPORT_H
builder.h
LINE Agent Language (LAL): programmatic construction of finite agents and their composition,...
line::lal
Definition
ag.h:49
line
Conservation laws of a layered queueing network, enumerated from its structure.
Definition
aoi_dist2ph.h:51
network_struct.h
A queueing network and its refreshed NetworkStruct.
include
line
lang
lal
network_import.h
Generated by
1.18.0