#include <groomernode.h>
Inheritance diagram for common::GroomerNode:
Public Member Functions | |
int | clearSchedule (long lightpath) |
Remove the specified lightpath. | |
GroomerNode (u_int nodeId, u_int trxCount) | |
Construct a new GroomerNode object from the provided information. | |
int | scheduleAny (long lightpath, u_int nextHop, int prevWavelength) |
Scheduling methods for a lightpath. | |
int | scheduleDestination (long lightpath, int prevWavelength) |
Scheduling methods for a lightpath. | |
int | scheduleSource (long lightpath, u_int nextHop) |
Scheduling methods for a lightpath. | |
int | scheduleSpecific (long lightpath, u_int nextHop, u_int prevWavelength) |
Scheduling methods for a lightpath. | |
std::string & | toString () |
Convert this object's representation to String. | |
~GroomerNode () | |
Default destructor. | |
Private Attributes | |
TunableTRXArray * | _rx |
Tunable receiver array. | |
u_int | _trxCount |
Number of tunable transmitters and receivers. | |
TunableTRXArray * | _tx |
Tunable transmitter array. |
In addition to the basic WDM node (or Node
). This node contains a set of tunable TX and a tunable RX arrays, which is considered as a limited resource that can contribute to lightpath blocking.
|
Construct a new
|
|
Default destructor.
|
|
Scheduling methods for a lightpath. Checks to see if a specific lightpath has enough resources in order to be scheduled in here. I. The first step is to check to see if a lightpath can be scheduled on the same wavelength as the previous in order to avoid electronic conversion. II. If wavelength is not available, then a check is made to see if necessary Tx and Rx are present so as to fill in the need for wavelength conversion.
|
|
Scheduling methods for a lightpath. Checks to see if a specific node has enough resources to originate a lightpath as this node. Needs two resources I. A wavelength II. A Tx to transmit the lightpath on the wavelength.
|
|
Scheduling methods for a lightpath. Checks to see if a specific node has enough resources to terminate a lightpath as this node. Needs two resources II. A Rx to receive the lightpath on the wavelength.
|
|
Scheduling methods for a lightpath. This methods tries to see if a wavelength is available. It does not carry out wavlenght conversion at the intermediate node. Needs on wavelength resource
|
|
Remove the specified lightpath.
|
|
Convert this object's representation to String.
Reimplemented from common::Node. |
|
Tunable transmitter array.
|
|
Tunable receiver array.
|
|
Number of tunable transmitters and receivers.
|