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 properties(Access = public)
26 end
27
28 properties(Hidden)
29 end
30
31 methods(Access = public)
32
33 %> \brief
34 %> Return a scalar object of class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).<br>
35 %>
36 %> \details
37 %> This is the constructor of the class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).
38 %>
39 %> \param[in] file : The input scalar MATLAB string containing the path to an external file.<br>
40 %> \param[in] silent : The input scalar MATLAB logical.<br>
41 %> if ``true``, all descriptive messages will be suppressed.<br>
42 %> Setting this option to ``false`` is particularly useful
43 %> in MPI-parallel simulations.<br>
44 %> (**optional**, default = ``false``)
45 %> \param[in] sep : The input scalar MATLAB string
46 %> containing the field separator used in the file.<br>
47 %> (**optional**, default = ``","``)
48 %>
49 %> \return
50 %> ``self`` : The output scalar object of class [pm.sampling.FileContentsProgress](@ref FileContentsProgress).<br>
51 %>
52 %> \interface{FileContentsProgress}
53 %> \code{.m}
54 %>
55 %> contents = pm.sampling.FileContentsProgress(file)
56 %> contents = pm.sampling.FileContentsProgress(file, [])
57 %> contents = pm.sampling.FileContentsProgress(file, silent)
58 %> contents = pm.sampling.FileContentsProgress(file, [], sep)
59 %> contents = pm.sampling.FileContentsProgress(file, silent, sep)
60 %>
61 %> \endcode
62 %>
63 %> \final{FileContentsProgress}
64 %>
65 %> \author
66 %> \JoshuaOsborne, May 21 2024, 1:11 AM, University of Texas at Arlington<br>
67 %> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
68 %> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
69 function self = FileContentsProgress(file, silent, sep)
70 if nargin < 3
71 sep = [];
72 end
73 if nargin < 2
74 silent = [];
75 end
76 self = self@pm.io.FileContentsTabular(file, silent, sep);
77 end
78
79 end
80
81end
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...