Lines Matching defs:OpticalNode
23 #include "model/optical_graph/OpticalNode.h"
28 const int OpticalNode::OPTICAL_NODE_INIT_VISITED_NUM = 0;
30 OpticalNode::OpticalNode(Type type_, const String& instance_name_, OpticalModel* model_, const WavelengthGroup& wavelengths_)
34 setVisitedNum(OpticalNode::OPTICAL_NODE_INIT_VISITED_NUM);
35 m_downstream_nodes_ = new vector<OpticalNode*>;
38 OpticalNode::~OpticalNode()
43 OpticalNode::Type OpticalNode::getType() const
48 vector<OpticalNode*>* OpticalNode::getDownstreamNodes() const
53 const String& OpticalNode::getInstanceName() const
58 OpticalModel* OpticalNode::getModel()
63 const OpticalModel* OpticalNode::getModel() const
68 void OpticalNode::addDownstreamNode(OpticalNode* node_)
75 WavelengthGroup OpticalNode::getWavelengths() const
80 bool OpticalNode::isExpected(const WavelengthGroup& wavelengths_) const
94 void OpticalNode::setLoss(double loss_)
99 double OpticalNode::getLoss() const
104 void OpticalNode::setVisitedNum(int visited_num_)
109 int OpticalNode::getVisitedNum() const