'''
Created on Jan 3, 2012
Modified on Sep 11, 2012
@author: Dilum Bandara
@version: 0.1
@license: Apache License v2.0

   Copyright 2012 H. M. N. Dilum Bandara and Anura P. Jayasumana, Colorado State
   University

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
'''

from DES import DES
from ReadData import ReadData
from BaseStat import BaseStat
import Config

OVERLAY = {} #Overlay layer nodes
DHT = {} #DHT layer  
RESOURCES = {} #Tier 2 application layer resources

RESOURCEFUL_PEERS = [] #Node IDs (not Peer IDs)

EVENTS = DES()
IN_DATA = ReadData(Config.W_STATION_FILE, Config.S_READING_FILE, \
                                                    Config.QUERY_FILE) #Input data
STAT = BaseStat(Config.RESULTS_FILE, Config.TRACK_ATT_COST)
FT_NOTIFY_COST = [] #Cost of notifying