示例#1
0
def step01(paramFile):
    util = ParameterUtil(parameter_file=paramFile)
    astroPh = Formating(util.graph_file)
    astroPh.subject = 'cond-mat'
    astroPh.yearstoRescue = [1994, 1995, 1996, 1997, 1998, 1999]
    astroPh.readingOrginalDataset()
    #astroPh.generating_graph()
    astroPh.saveGraph()
def hepth(years):
    astroPh = Formating('/home/cmuniz/execMen/grafos/hepth_data')
    astroPh.subject = 'hep-th'
    astroPh.yearstoRescue = years
    astroPh.readingOrginalDataset()
def condmat(years):
    astroPh = Formating('/home/cmuniz/execMen/grafos/condmat_data')
    astroPh.subject = 'cond-mat'
    astroPh.yearstoRescue = years
    astroPh.readingOrginalDataset()
def astroph(years):
    astroPh = Formating('/home/cmuniz/execMen/grafos/astroph_data')
    astroPh.subject = 'astro-ph'
    astroPh.yearstoRescue = years
    astroPh.readingOrginalDataset()
def grqc(years):
    astroPh = Formating('/home/cmuniz/execMen/grafos/grqc_data')
    astroPh.subject = 'gr-qc'
    astroPh.yearstoRescue = years
    astroPh.readingOrginalDataset()
def hepph(years):
    astroPh = Formating('/grafos/hepph_data')
    astroPh.subject = 'hep-ph'
    astroPh.yearstoRescue = years
    astroPh.readingOrginalDataset()