//******************************************************************************
//
// Cs361      : Fall 2003 Ohio University Travis Dillon
// Homework 8 : President of railroad company
// file       : node.h
// started    : 10-14-03
// summary    : This is the header for the Node class.
//
//******************************************************************************


#ifndef NODE_H
#define NODE_H

#include "prog6.h"

class Graph;

class Node
{
   friend class Graph;
 public:
   Node(size_t in_from, size_t in_to, double in_cost);
   bool operator <(const Node& rop)const;
 private:
   size_t from;  //the starting place of the edge
   size_t to;  //this is where the edge leads to
   double cost;  //cost to build this edge
};

#endif  //NODE_H