460 likes | 480 Views
Routing and Scheduling in Multistage Networks using Genetic Algorithms. Advisor: Dr. Yi Pan Chunyan Ji 3/26/01. Presentation Outline. Background and Motivation of this research Genetic Algorithm Analysis of Testing Results Simulation Package in Java Applet Conclusion and Future work Demo.
E N D
Routing and Scheduling in Multistage Networks using Genetic Algorithms Advisor: Dr. Yi Pan Chunyan Ji 3/26/01
Presentation Outline • Background and Motivation of this research • Genetic Algorithm • Analysis of Testing Results • Simulation Package in Java Applet • Conclusion and Future work • Demo
Background and Motivation of this research • Multistage Interconnection Network • Network size N=2n (n is the number of stages) • N/2 switching elements in each stage
Crosstalk in OMIN • Two ways to produce undesired coupling in a Switching Element
Approaches to avoid crosstalk • 2N*2N regular OMIN to provide N*N connection • Routing traffic through an N*N OMIN to avoid coupling two signals within each Switching Element
Legal path in SW at a time • Paths without crosstalk in SE:
Omega Network • Each connection between stages is shuffle-exchanged • 000->000 • 001->010 • 010->100 • … • 111->111
Routing Algorithm • While (not end of messages list) • 1. Select one of the left messages; • 2. Schedule the message in a time slot with no conflict with other messages that have been already scheduled.
Four Routing Algorithms • Sequential Algorithm: Choose a message in increasing order of the message source address. • Seq-Down Algorithm: Choose a message in decreasing order of the message source address. • Degree-ascending Algo: Choose a message in the order of the increasing degrees in conflict graph. • Degree-descending Algo: Choose a message in the order of the decreasing degrees in conflict graph
Chromosomes • Binary: 01011010 • Permutation encoding:21314231 • Index represents the node in the graph and the integer value represents the color of its corresponding node
Operators of GA • Crossover • Mutation • Selection
Crossover • Single Crossover: Parent 1: 2311242212341 Parent 2: 1232422311243 After crossover, Offspring 1: 2311242311243 Offspring 2: 1232422212341
Operators of GA(cont.) • Double Crossover Parent 1: 2311242212341 Parent 2: 1232422311243 After double crossover, Offspring 1: 2312422312341 Offspring 2: 1231242211243
Mutation • Offspring from the crossover: Offspring 1: 2311242311243 Offspring 2: 1232422212341 Offspring after mutation: Offspring 1: 2312242311243 Offspring 2: 1232322212311
Selection • Fitness Function:number of colors • valid solutions • Betting fitting offspring (less number of colors) gets to be the parent of next generation
Parameters of GA • Crossover Probability • Mutation Probability • Population Size • Number of Generations
Analysis • Best Mutation Probability: 0.1---0.3 • Generations:100---300 • Population size:4--8 • Crossover Probability used: 100% • In this research, maximum colors reduced by GA: 2
Conclusion and Future work • Genetic Algorithm can be used as a optimizing tool • Disadvantage:time consuming • Perform GA in parallel • Other complicated GA techniques to improve the results