1function showLibraryAttribution(self, options)
2% SHOWLIBRARYATTRIBUTION(OPTIONS)
4% Print the third-party libraries the solver will use, at most once per
5% session. This
is not called automatically: attribution
is pull-based, so a
6% user asks
for it (see also getLibrariesUsed, which returns the list without
8% getLibrariesUsed
is a
static method of the concrete solver
class and
is
9% resolved through the instance, so the block no longer has to be copied into
10% each runAnalyzer just to name that
class.
12% Copyright (c) 2012-2026, Imperial College London
15if nargin < 2 || isempty(options)
16 options = self.getOptions;
18if options.verbose == VerboseLevel.SILENT || GlobalConstants.isLibraryAttributionShown()
22 sn = self.getStruct();
26libs = self.getLibrariesUsed(sn, options);
28 line_printf(
'The solver will leverage %s.\n', strjoin(libs,
', '));
29 GlobalConstants.setLibraryAttributionShown(
true);