//============================================================================
// Name        : Xyz.h
// Author      : Alessandro Pinto <apinto@eecs.berkeley.edu>
//               University of California, Berkeley
//               545 Cory Hall, Berkeley, CA 94720
// Version     : $Id: RoutingTable.h,v 1.1 2007/09/27 01:42:50 apinto Exp $
// Copyright   : See COPYING file that comes with this distribution
// Description : Declaration of the routing table of a node.
//============================================================================


/**A routing table is a set of triples (s,d,v) where the s is the
 * source of a packet, d is the destination and v is the
 * next hop.
 *
 *@author Alessandro Pinto,
 *@author The Donald O. Pederson Center for Electronic System Design
 *@author Electrical Engineering Department
 *@author University of California, Berkeley
 *@author 545P Cory Hall, Berkeley, CA 94720
 *@author +1 (510) 642 9670
 *@author http://www.eecs.berkeley.edu/~apinto
 *
 *@version $Id: RoutingTable.h,v 1.1 2007/09/27 01:42:50 apinto Exp $
 */

#ifndef ROUTINGTABLE_H_
#define ROUTINGTABLE_H_

#include <set>

using namespace std ;

namespace cosi
{

typedef struct _RoutingTableEntries {
	int S ;
	int D ;
	int V ;
} RoutingTableEntry ;

class RoutingTable : public set< RoutingTableEntry >
{
public:
	RoutingTable();
	virtual ~RoutingTable();

};

}

#endif /*ROUTINGTABLE_H_*/
