// - - - - - - - - - - - - - - - - - - - - -
// File: connection.cpp                     |
// Purpose: implements class Connection     |
// Author: Taivo Lints, Estonia             |
// Date: May, 2003                          |
// Copyright: see copyright.txt             |
// - - - - - - - - - - - - - - - - - - - - -

#include "connection.h"
using namespace std;

// - - - - - Class Connection - - - - -

// - Connection constructor - -
// You must give all the required parameters when creating a new connection
// (see connection.h).
Connection::Connection(int init_source, double init_weight) {

   source = init_source;  // Sets Connection parameters.
   weight = init_weight;

}