models/wiredbas/common/BusCost.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 BUSCOST_H_
00009 #define BUSCOST_H_
00010 
00011 #include "networks/wiredbas/WiredBasPlatformInstance.h"
00012 #include "float.h"
00013 
00014 namespace cosi
00015 {
00016 
00017 namespace models
00018 {
00019 
00020 namespace wiredbas
00021 {
00022 
00023 
00024 class BusCost
00025 {
00026 
00027 public:
00028 
00029         BusCost();
00030 
00031         virtual ~BusCost();
00032 
00033         //Give a communication structure and return the cost
00034 
00035         virtual double GetValue( cosi::commstruct::wiredbas::PlatformInstance pC ) = 0;
00036 
00037         virtual double GetValue( cosi::commstruct::wiredbas::PlatformInstance* pC ) = 0;
00038 
00039 };
00040 
00041 }
00042 
00043 }
00044 
00045 }
00046 
00047 #endif /*BUSCOST_H_*/

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