⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lev2list.m

📁 物流分析工具包。Facility location: Continuous minisum facility location, alternate location-allocation (ALA)
💻 M
字号:
function IJC = lev2adj(varargin)
%LEV2ADJ Weighted interlevel to arc list representation.
%   IJC = lev2list(C)
%   IJC = lev2adj(C12,C23,...)
%     C = {C12,C23,...}, cell array of weighted interlevel matrices
%   Cij = mi x mj matrix from level i to level j
%    mi = number of nodes in level i
%     m = m1 + m2 + ..., total number of nodes
%   IJC = n x 2-3 matrix arc list [i j c], where
%     i = n-element vector of arc tails nodes
%     j = n-element vector of arc head nodes
%     c = n-element vector of arc weights
%
% Examples:
% C = [3 4]
% IJC = lev2list(C)       % (1 level)  IJC = 1 2 3
%                         %                  1 3 4
%
% C12 = C, C23 = [5 6]'
% IJC = lev2list(C12,C23) % (2 levels) IJC = 1 2 3
%                         %                  1 3 4
%                         %                  2 4 5
%                         %                  3 4 6
%
% Wrapper for IJC = ADJ2LIST(LEV2ADJ(C))
%
% See also LIST2INCID and ADJ2INCID

% Copyright (c) 1994-2006 by Michael G. Kay
% Matlog Version 9 13-Jan-2006 (http://www.ie.ncsu.edu/kay/matlog)

% Input Error Checking ****************************************************
% End (Input Error Checking) **********************************************

IJC = adj2list(lev2adj(varargin{:}));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -