'''
Created on Jul 23, 2011
@author: Dilum Bandara
@contact: dilumb@engr.colostate.edu
@version: 0.1
@copyright: Copyright(c) 2011, Dilum Bandara
@license: GPL
'''

class Node(object):
    '''
    classdocs
    '''


    def __init__(self, key):
        '''
        Constructor
        @param key: Node ID
        '''
        self.key = key
        self.idx = [] #Key index
        self.traffic = {} #Traffic through node {key: [source node, demand]}
        