LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Toggle main menu visibility
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
18
namespace
line
{
19
namespace
io
{
20
21
/** Layout and rendering options of the network TikZ exporter (`TikZOptions`). */
22
struct
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
line::io
Definition
code_gen.h:68
line
Conservation laws of a layered queueing network, enumerated from its structure.
Definition
aoi_dist2ph.h:52
line::io::TikzOptions
Layout and rendering options of the network TikZ exporter (TikZOptions).
Definition
tikz_options.h:22
line::io::TikzOptions::show_node_names
bool show_node_names
label each node with its name
Definition
tikz_options.h:27
line::io::TikzOptions::border_padding
int border_padding
standalone border, pt
Definition
tikz_options.h:29
line::io::TikzOptions::hide_auto_generated_nodes
bool hide_auto_generated_nodes
hide the CS_x_to_y class switches link inserts
Definition
tikz_options.h:31
line::io::TikzOptions::show_routing_prob
bool show_routing_prob
label edges with their probability (see tikz.h: never reached by the exporter)
Definition
tikz_options.h:25
line::io::TikzOptions::show_scheduling
bool show_scheduling
print a Queue's discipline beneath it
Definition
tikz_options.h:28
line::io::TikzOptions::node_spacing
double node_spacing
vertical distance between nodes of one layer, cm
Definition
tikz_options.h:23
line::io::TikzOptions::layer_spacing
double layer_spacing
horizontal distance between layers, cm
Definition
tikz_options.h:24
line::io::TikzOptions::show_server_count
bool show_server_count
draw the server circle of a Queue with its server count
Definition
tikz_options.h:26
line::io::TikzOptions::min_prob_to_show
double min_prob_to_show
probabilities within this of 0 or 1 get no label
Definition
tikz_options.h:30
include
line
io
tikz
tikz_options.h
Generated by
1.18.0