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 void
flowArrival(Flow flow)
void
flowDeparture(long id)
void
setModulation(int modulation)
void
simulationEnd()
void
simulationInterface(ControlPlaneForRA cp)
-
Constructor Details
-
ASMC
public ASMC()
-
-
Method Details
-
flowArrival
- Specified by:
flowArrival
in interfaceRA
-
flowDeparture
public void flowDeparture(long id)- Specified by:
flowDeparture
in interfaceRA
-
simulationEnd
public void simulationEnd()- Specified by:
simulationEnd
in interfaceRA
-
simulationInterface
- Specified by:
simulationInterface
in interfaceRA
-
setModulation
public void setModulation(int modulation)- Specified by:
setModulation
in interfaceRA
-