LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
cl_basic.m
1% SF_BASIC Open cluster with four PS servers and random dispatching.
2%
3% Source -> Dispatcher -> Server[1..4] -> Sink. The single call to
4% Network.clusterPs collapses what would otherwise be ~20 lines of
5% manual node/link wiring.
6
7clear all
8
9lambda = 0.4;
10D = ones(4, 1); % mean service time = 1 at each server
11model = Network.clusterPs(lambda, D, RoutingStrategy.RAND);
12
13solver = MVA(model);
14disp(solver.getAvgTable());