1function lqn=LayeredNetworkStruct()
2% Data structure representation
for a LayeredNetwork
object
4% Copyright (c) 2012-2026, Imperial College London
7lqn=[]; %faster than lqn=
struct();
8lqn.nidx = 0; % total number of hosts, tasks, entries, and activities, except the reference tasks
43lqn.calltype = sparse([]);
47lqn.callhashnames = {};
48%lqn.callshortnames = {};
49lqn.actpretype = sparse([]);
50lqn.actposttype = sparse([]);
52lqn.graph = sparse([]);
53lqn.taskgraph = sparse([]);
56lqn.iscache = sparse(logical([]));
57lqn.iscaller = sparse([]);
58lqn.issynccaller = sparse([]);
59lqn.isasynccaller = sparse([]);
60lqn.isref = sparse(logical([]));
61lqn.isfunction = sparse(logical([]));