LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
line_citation.m
1function bib = line_citation(toolName)
2% BIB = LINE_CITATION(TOOLNAME)
3%
4% Return the BibTeX entry for the canonical paper of an external tool that a
5% wrapper solver delegates to, so that the acknowledgement printed by LINE_ACK
6% can be turned into a citation without retyping it. With no output argument
7% the entry is printed instead.
8%
9% TOOLNAME is 'JMT', 'LQNS' or 'QNS' ('QNS' shares the LQNS reference, qnsolver
10% being part of that distribution). An unknown tool returns ''. Wrapper solvers
11% that live outside this tree carry their own reference: their tools must not be
12% named in this codebase.
13%
14% The keys match doc/latex/biblio.bib and BIBLIOGRAPHY.md. Mirror any edit in
15% jline.io.InputOutput.line_citation and
16% line_solver.api.io.logging.line_citation.
17%
18% Example:
19% line_citation('JMT')
20%
21% See also LINE_ACK.
22
23% Copyright (c) 2012-2026, Imperial College London
24% All rights reserved.
25
26switch upper(toolName)
27 case 'JMT'
28 bib = strjoin({ ...
29 '@INPROCEEDINGS{BerCS07,', ...
30 ' author = {M. Bertoli and G. Casale and G. Serazzi},', ...
31 ' title = {The {JMT} Simulator for Performance Evaluation of Non-Product-Form', ...
32 ' Queueing Networks},', ...
33 ' booktitle = {Proc. of the 40th Annual Simulation Symposium (ANSS)},', ...
34 ' year = {2007},', ...
35 ' pages = {3--10}', ...
36 '}'}, newline);
37 case {'LQNS','QNS'}
38 bib = strjoin({ ...
39 '@ARTICLE{fran.ea09,', ...
40 ' author = {G. Franks and T. Al-Omari and M. Woodside and O. Das and S. Derisavi},', ...
41 ' title = {Enhanced Modeling and Solution of Layered Queueing Networks},', ...
42 ' journal = {IEEE Trans. Software Engineering},', ...
43 ' year = {2009},', ...
44 ' volume = {35},', ...
45 ' pages = {148-161},', ...
46 ' number = {2}', ...
47 '}'}, newline);
48 otherwise
49 bib = '';
50end
51
52if nargout == 0 && ~isempty(bib)
53 line_printf('%s\n', bib);
54 clear bib
55end
56end