|
libraries/wiredbas/common/SubNetwork.hGo 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 SUBNETWORK_H_ 00009 #define SUBNETWORK_H_ 00010 00011 #include "libraries/wiredbas/common/InstantiableSubNetwork.h" 00012 #include "networks/wiredbas/WiredBasImplementation.h" 00013 #include "networks/wiredbas/WiredBasSpecificaion.h" 00014 00015 00016 namespace cosi { 00017 00018 namespace library { 00019 00020 namespace wiredbas { 00021 00022 class SubNetwork : public InstantiableSubNetwork { 00023 public: 00024 SubNetwork(std::map<std::string, cosi::library::wiredbas::InstantiableNode*> N, 00025 std::map<std::string, cosi::library::wiredbas::InstantiableLink*> L); 00026 virtual ~SubNetwork() ; 00027 virtual double LatencyValue( 00028 cosi::commstruct::wiredbas::Implementation* pNet, Vertex Src, std::string Dest, Vertex SrcId , Vertex DestId) =0; 00029 virtual bool Satisfies(cosi::commstruct::wiredbas::Specification* pSpec, cosi::commstruct::wiredbas::Implementation* pNet) =0; 00030 virtual double GetCost(cosi::commstruct::wiredbas::Implementation* pNet) =0; 00031 }; 00032 00033 } 00034 00035 } 00036 00037 } 00038 00039 #endif /*SUBNETWORK_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |