12.07.2015 Views

Modeling and Optimization of Traffic Flow in Urban Areas - Czech ...

Modeling and Optimization of Traffic Flow in Urban Areas - Czech ...

Modeling and Optimization of Traffic Flow in Urban Areas - Czech ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.3 Implemented Algorithm 45tasks are arranged <strong>in</strong> non-<strong>in</strong>creas<strong>in</strong>g order <strong>of</strong> process<strong>in</strong>g time p j before theapplication <strong>of</strong> List Schedul<strong>in</strong>g algorithm. The time complexity <strong>of</strong> LPT isO(n · log(n)).The Shortest Process<strong>in</strong>g Time first (SPT) is a strategy <strong>in</strong> which thetasks are arranged <strong>in</strong> non-decreas<strong>in</strong>g order <strong>of</strong> process<strong>in</strong>g time p j before theapplication <strong>of</strong> List Schedul<strong>in</strong>g algorithm. The time complexity <strong>of</strong> SPT isO(n · log(n)).List Schedul<strong>in</strong>g is implemented <strong>in</strong> TORSCHE Schedul<strong>in</strong>g Toolbox byfunction listsch which also allows to user to use any <strong>of</strong> implemented strategyalgorithms <strong>and</strong> visualize process <strong>of</strong> schedul<strong>in</strong>g step by step <strong>in</strong> text form<strong>in</strong> MABLAB workspace (see Fig 4.5 for flowchart <strong>of</strong> function). Moreover,the last version is able to solve schedul<strong>in</strong>g problems on unrelated parallelprocessors. The syntax <strong>of</strong> listsch function is:TS = listsch(T,problem,processors [,strategy] [,verbose])TS = listsch(T,problem,processors [,option])where:Tis the <strong>in</strong>stance <strong>of</strong> the Taskset class without schedule,TS is the <strong>in</strong>stance <strong>of</strong> the Taskset class with schedule,problem is the <strong>in</strong>stance <strong>of</strong> the Problem class,processors is the number <strong>of</strong> processors,strategy is the strategy (like LPT, SPT, EST, . . . ),verbose is a level <strong>of</strong> verbosity,option is the optimization option sett<strong>in</strong>g.This subsection concludes by the example. The example solves a problem<strong>of</strong> manufactur<strong>in</strong>g <strong>of</strong> a chair by two workers (cab<strong>in</strong>etmakers). Their goal isto make four legs, seat <strong>and</strong> backrest <strong>of</strong> the chair <strong>and</strong> assembly all <strong>of</strong> theseparts with<strong>in</strong> m<strong>in</strong>imal time. Material, which is needed to create backrest,will be available <strong>in</strong> 20 time units <strong>and</strong> assemblage is divided <strong>in</strong>to two stages(assembly 1/2 <strong>and</strong> assembly 2/2 ). Fig. 4.6 shows the representation <strong>of</strong> mentionedproblem by the graph.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!