ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
FileContentsProgress.m
Go to the documentation of this file.
1%> \brief
2%> This is the base class for generating objects
3%> that contain the contents of a progress file
4%> generated by a ParaMonte sampler.<br>
5%>
6%> \details
7%> This class is meant to be primarily internally
8%> used by the ParaMonte MATLAB library samplers.<br>
9%> See the documentation of the class constructor.<br>
10%>
11%> \note
12%> See below for information on the attributes (properties).<br>
13%>
14%> \note
15%> See below for information on the methods.<br>
16%>
17%> \final{FileContentsProgress}
18%>
19%> \author
20%> \JoshuaOsborne, May 21 2024, 1:09 AM, University of Texas at Arlington<br>
21%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
22%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
23classdef FileContentsProgress < pm.io.FileContentsTabular
24
25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26
27 properties(Access = public)
28 % %>
29 % %> ``vis``
30 % %>
31 % %> The scalar MATLAB ``struct`` containing the set of
32 % %> predefined visualizations for the output data.<br>
33 % %>
34 % vis = [];
35 end
36
37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
38
39 properties(Hidden)
40 end
41
42 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43
44 methods(Access = public)
45
46 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
48 %> \brief
49 %> Return a scalar object of class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).<br>
50 %>
51 %> \details
52 %> This is the constructor of the class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).
53 %>
54 %> \param[in] file : The input scalar MATLAB string containing the path to an external file.<br>
55 %> \param[in] silent : The input scalar MATLAB logical.<br>
56 %> if ``true``, all descriptive messages will be suppressed.<br>
57 %> Setting this option to ``false`` is particularly useful
58 %> in MPI-parallel simulations.<br>
59 %> (**optional**, default = ``false``)
60 %> \param[in] sep : The input scalar MATLAB string
61 %> containing the field separator used in the file.<br>
62 %> (**optional**, default = ``","``)
63 %>
64 %> \return
65 %> ``self`` : The output scalar object of class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).<br>
66 %>
67 %> \interface{FileContentsProgress}
68 %> \code{.m}
69 %>
70 %> contents = pm.sampling.FileContentsProgress(file)
71 %> contents = pm.sampling.FileContentsProgress(file, [])
72 %> contents = pm.sampling.FileContentsProgress(file, silent)
73 %> contents = pm.sampling.FileContentsProgress(file, [], sep)
74 %> contents = pm.sampling.FileContentsProgress(file, silent, sep)
75 %>
76 %> \endcode
77 %>
78 %> \final{FileContentsProgress}
79 %>
80 %> \author
81 %> \JoshuaOsborne, May 21 2024, 1:11 AM, University of Texas at Arlington<br>
82 %> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
83 %> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
84 function self = FileContentsProgress(file, silent, sep)
85 if nargin < 3
86 sep = [];
87 end
88 if nargin < 2
89 silent = [];
90 end
91 self = self@pm.io.FileContentsTabular(file, silent, sep);
92 end
93
94 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
95
96 end
97
98 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
99
100end
This is the base class for generating objects that contain the contents of a progress file generated ...
function FileContentsProgress(in file, in silent, in sep)
Return a scalar object of class pm.sampling.FileContentsProgress.
This is the base class for generating objects that contain the tabular contents of a given file.
function parallel()
Return a scalar MATLAB logical that is true if and only if the current installation of MATLAB contain...