Alex Bikfalvi
SimStream Documentation
TopoBriteEdge.h
00001 #pragma once 00002 00003 #include "TopoEdge.h" 00004 00005 class CTopoBriteEdge : public CTopoEdge 00006 { 00007 private: 00008 __uint32 id; 00009 __uint32 nodes[2]; 00010 double length; 00011 double delay; 00012 __bitrate bandwidth; 00013 00014 public: 00015 CTopoBriteEdge( 00016 __uint32 id, 00017 __uint32 node1, 00018 __uint32 node2, 00019 double length, 00020 double delay, 00021 __bitrate bandwidth 00022 ); 00023 ~CTopoBriteEdge(); 00024 00025 inline __uint32 Id() { return this->id; } 00026 inline __uint32* Nodes() { return this->nodes; } 00027 inline double Length() { return this->length; } 00028 inline double Delay() { return this->delay; } 00029 inline __bitrate Bandwidth() { return this->bandwidth; } 00030 double Cost(); 00031 __uint32 OtherNode(__uint32 node); 00032 };
Last updated: February 8, 2011