Package ons.ra
Class PP
java.lang.Object
ons.ra.PP
- All Implemented Interfaces:
RA
public class PP extends java.lang.Object implements RA
The proposed Rui Wang Pseudo Partition (PP).
Article: "Spectrum Management in Heterogeneous Bandwidth Networks",
Rui Wang and Biswananth Mukherjee,
Globecom 2012 - Optical Networks and Systems Symposium
If COS = 0 use FirstFit, if COS = 1 use LastFit
-
Constructor Summary
Constructors Constructor Description PP() -
Method Summary
Modifier and Type Method Description voidflowArrival(Flow flow)voidflowDeparture(long id)voidsetModulation(int modulation)voidsimulationEnd()voidsimulationInterface(ControlPlaneForRA cp)
-
Constructor Details
-
PP
public PP()
-
-
Method Details
-
simulationInterface
- Specified by:
simulationInterfacein interfaceRA
-
setModulation
public void setModulation(int modulation)- Specified by:
setModulationin interfaceRA
-
simulationEnd
public void simulationEnd()- Specified by:
simulationEndin interfaceRA
-
flowArrival
- Specified by:
flowArrivalin interfaceRA
-
flowDeparture
public void flowDeparture(long id)- Specified by:
flowDeparturein interfaceRA
-