Package ons.ra
Class ASMC
java.lang.Object
ons.ra.ASMC
- All Implemented Interfaces:
RA
public class ASMC extends java.lang.Object implements RA
This is a new algorithm to solve the RMSCA problem in SDM-EON.
The algorithm tries to allocate circuits with resistant modulation on
the central core, and separate the circuits in odd and even on peripheral
cores, to reduce fragmentation.
-
Constructor Summary
Constructors Constructor Description ASMC() -
Method Summary
Modifier and Type Method Description voidflowArrival(Flow flow)voidflowDeparture(long id)voidsetModulation(int modulation)voidsimulationEnd()voidsimulationInterface(ControlPlaneForRA cp)
-
Constructor Details
-
ASMC
public ASMC()
-
-
Method Details
-
flowArrival
- Specified by:
flowArrivalin interfaceRA
-
flowDeparture
public void flowDeparture(long id)- Specified by:
flowDeparturein interfaceRA
-
simulationEnd
public void simulationEnd()- Specified by:
simulationEndin interfaceRA
-
simulationInterface
- Specified by:
simulationInterfacein interfaceRA
-
setModulation
public void setModulation(int modulation)- Specified by:
setModulationin interfaceRA
-