Package ons.ra

Class MyRSA

java.lang.Object
ons.ra.MyRSA
All Implemented Interfaces:
RA

public class MyRSA
extends java.lang.Object
implements RA
This is a sample algorithm for the Routing and Spectrum Alocation problem. Fixed path routing is the simplest approach to finding a lightpath. The same fixed route for a given source and destination pair is always used. This path is computed using Dijkstra's Algorithm. First-Fit wavelength assignment tries to establish the lightpath using the first slots set available sought in the increasing order.
  • Constructor Summary

    Constructors 
    Constructor Description
    MyRSA()  
  • Method Summary

    Modifier and Type Method Description
    void flowArrival​(Flow flow)  
    void flowDeparture​(long id)  
    void setModulation​(int modulation)  
    void simulationEnd()  
    void simulationInterface​(ControlPlaneForRA cp)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait