LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
tikz_options.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_IO_TIKZ_TIKZ_OPTIONS_H
6#define LINE_IO_TIKZ_TIKZ_OPTIONS_H
7
8/**
9 * @file
10 * @ingroup line_io
11 * Port of `jline.io.tikz.TikZOptions`: the knobs of the network TikZ exporter.
12 *
13 * The defaults are the JAR's constructor defaults, so a default-constructed
14 * `TikzOptions` produces the same document as `Network.toTikZ()` with no
15 * argument, which is what MATLAB's `MNetwork.toTikZ` calls.
16 */
17
18namespace line {
19namespace io {
20
21/** Layout and rendering options of the network TikZ exporter (`TikZOptions`). */
23 double node_spacing = 3.0; ///< vertical distance between nodes of one layer, cm
24 double layer_spacing = 4.0; ///< horizontal distance between layers, cm
25 bool show_routing_prob = true; ///< label edges with their probability (see tikz.h: never reached by the exporter)
26 bool show_server_count = true; ///< draw the server circle of a Queue with its server count
27 bool show_node_names = true; ///< label each node with its name
28 bool show_scheduling = true; ///< print a Queue's discipline beneath it
29 int border_padding = 10; ///< `standalone` border, pt
30 double min_prob_to_show = 0.001; ///< probabilities within this of 0 or 1 get no label
31 bool hide_auto_generated_nodes = false; ///< hide the CS_x_to_y class switches `link` inserts
32};
33
34} // namespace io
35} // namespace line
36
37#endif // LINE_IO_TIKZ_TIKZ_OPTIONS_H
Conservation laws of a layered queueing network, enumerated from its structure.
Definition aoi_dist2ph.h:52
Layout and rendering options of the network TikZ exporter (TikZOptions).
bool show_node_names
label each node with its name
int border_padding
standalone border, pt
bool hide_auto_generated_nodes
hide the CS_x_to_y class switches link inserts
bool show_routing_prob
label edges with their probability (see tikz.h: never reached by the exporter)
bool show_scheduling
print a Queue's discipline beneath it
double node_spacing
vertical distance between nodes of one layer, cm
double layer_spacing
horizontal distance between layers, cm
bool show_server_count
draw the server circle of a Queue with its server count
double min_prob_to_show
probabilities within this of 0 or 1 get no label