models/wiredbas/common/NetworkCost.h

Go to the documentation of this file.
00001 //============================================================================
00002 // Author      : Alessandro Pinto <apinto@eecs.berkeley.edu>
00003 //               University of California, Berkeley
00004 //               545 Cory Hall, Berkeley, CA 94720
00005 // Copyright   : See COPYING file that comes with this distribution
00006 //============================================================================
00007 
00008 #ifndef NETWORKCOST_H_
00009 #define NETWORKCOST_H_
00010 
00011 #include "networks/wiredbas/WiredBasPlatformInstance.h"
00012 #include "networks/wiredbas/WiredBasImplementation.h"
00013 #include "float.h"
00014 
00015 namespace cosi
00016 {
00017 
00018 namespace models
00019 {
00020 
00021 namespace wiredbas
00022 {
00023 
00024 class NetworkCost
00025 {
00026 public:
00027         NetworkCost();
00028         virtual ~NetworkCost();
00029 
00030         virtual double GetValue(cosi::commstruct::wiredbas::PlatformInstance pC) = 0;
00031 
00032         virtual double GetValue(cosi::commstruct::wiredbas::PlatformInstance* pC)= 0;
00033 
00034         virtual double GetValue(cosi::commstruct::wiredbas::Implementation pC)= 0;
00035 
00036         virtual double GetValue(cosi::commstruct::wiredbas::Implementation* pC)= 0;
00037 
00038 };
00039 
00040 }
00041 
00042 }
00043 
00044 }
00045 
00046 #endif /*NETWORKCOST_H_*/

Generated on Sun Sep 7 18:37:42 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents