-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobs_process.m
61 lines (59 loc) · 2.59 KB
/
jobs_process.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
function jobs_process( Ns, dims, ...
shapes )
%JOBS_PROCESS processes combined job files for causet sizes NS and
% dimensions DIMS.
%
% Arguments:
% NS vector of causet cardinalities.
% DIMS vector of spacetime dimensions.
%
% Optional arguments:
% SHAPES cell array of shape names.
% Default: { 'Bicone' }
%
% Copyright 2021, C. Minz. BSD 3-Clause License.
%% set default values:
if nargin < 3 || isempty( shapes )
shapes = { 'Bicone' };
end
%% process all N-causets from d-dimensional shapes:
for N = Ns
for d = dims
for shape = shapes
paramstr = jobs_getparamstr( N, d, shape );
%% counts of preferred futures
% criteria 1 to 6, including 1 subrelation, at subvolume 3
jobs_processfile_preffutures( paramstr, ...
{ 1:6, 1, 3 } );
%% proper time separation distributions
% criteria 1 to 6, including 1 subrelation, at subvolume 3;
% at subvolume 1, arrangements 2 and 3 (geodesic chains)
jobs_processfile_propertimes( paramstr, ...
{ 1:6, 1, 3, 1; ...
0, 0, 1, [2, 3] } );
%% diamond link distributions
% criterium 5, including 1 subrelation, at subvolumes 1 to 6;
% at subvolume 1, arrangements 2 and 3 (geodesic chains)
jobs_processfile_diamonds( paramstr, -1, ...
{ 5, 1, 1:6, 0; ...
0, 0, 1, [2, 3] } );
%% dimension distributions
% at subvolume 1, arrangements 2 and 3 (geodesic chains);
% at subvolume 3, arrangements 1 (entire causet);
% criteria 1 to 6, including 1 subrelation, at subvolume 3
jobs_processfile_dimensions( paramstr, ...
{ 0, 0, 1, [ 2, 3 ]; ...
0, 0, 3, 1; ...
1:6, 1, 3, 1 } );
%% proper time separation by link size
% at subvolume 3, with 0 (pure), 2 to 9 subrelated events
jobs_processfile_diamondtimes( paramstr, ...
[ 0, 2 : 1 : 9 ], { 3 } );
%% matrix of global spacetime dimension estimates
jobs_processfile_chains( parmastr );
end
end
end
%% event count table for the legend in diamond link distributions
jobs_process_eventcounts( Ns, dims, 1:6, shapes );
end