LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
LayeredNetworkStruct.m
1function lqn=LayeredNetworkStruct()
2% Data structure representation for a LayeredNetwork object
3%
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6
7lqn=[]; %faster than lqn=struct();
8lqn.nidx = 0; % total number of hosts, tasks, entries, and activities, except the reference tasks
9lqn.nhosts = 0;
10lqn.ntasks = 0;
11lqn.nentries = 0;
12lqn.nacts = 0;
13lqn.ncalls = 0;
14lqn.hshift = 0;
15lqn.tshift = 0;
16lqn.eshift = 0;
17lqn.ashift = 0;
18lqn.cshift = 0;
19lqn.nidx = 0;
20lqn.tasksof = {};
21lqn.entriesof = {};
22lqn.actsof = {};
23lqn.callsof = {};
24lqn.hostdem = {};
25lqn.actthink = {};
26lqn.think = {};
27lqn.sched = [];
28lqn.names = {};
29lqn.hashnames = {};
30%lqn.shortnames = {};
31lqn.mult = [];
32lqn.repl = [];
33lqn.type = [];
34%lqn.replies = [];
35lqn.parent = [];
36
37lqn.nitems = [];
38lqn.itemcap = {};
39lqn.replacestrat = [];
40lqn.itemproc = {};
41lqn.setuptime = {};
42lqn.delayofftime = {};
43lqn.calltype = sparse([]);
44lqn.callpair = [];
45lqn.callproc = {};
46lqn.callnames = {};
47lqn.callhashnames = {};
48%lqn.callshortnames = {};
49lqn.actpretype = sparse([]);
50lqn.actposttype = sparse([]);
51
52lqn.graph = sparse([]);
53lqn.taskgraph = sparse([]);
54lqn.replygraph = [];
55
56lqn.iscache = sparse(logical([]));
57lqn.iscaller = sparse([]);
58lqn.issynccaller = sparse([]);
59lqn.isasynccaller = sparse([]);
60lqn.isref = sparse(logical([]));
61lqn.isfunction = sparse(logical([]));
62end