Esempio n. 1
0
def plot_for_paper():
    # 3 plots mission outcome, casualties, mission times
    rp = RiskPlot()
    #  [ND, PK, PU, NC]
    #  [0, 1, 2, 3, 4]

    # fig 1
    pickle_list = ['1111DCDKHT_HGTFC-PT-05', '1111DCDKHT_HGTFF-PT-05', '1111DCDKHT_MGTFF-PT-05', '1111DCDKHT_MGTFC-PT-05']
    # ['1013NCNKHT-n-0', '1012DCDKHT-h-PK',  '1015DCDKHT-PK-prob', '1012DCDKHT-h-05', '1015DCDKHHT-05-PT', '1015DCDKHT-05-prob', '1012NCDKHT-h-NA']

    # FIG 2
    # pickle_list = ['1012DCDKHT-h-05', ]

    rp.retrieve_outcomes(pickle_list)
    rp.retrieve_casualties(pickle_list)
    rp.retrieve_times(pickle_list)
Esempio n. 2
0
def plot_configs_op1():
    """250 instances per config
    outcomes, times, losses in a row
    """
    """Input name of pickle file in data_compiled"""
    n_runs = 250
    rp = RiskPlot(n_runs)

    pickle_list = [
        '0106-NC-NK-NA', '0106-PT-PK-345', '0106-PB-PK-345', '0106-PT-PU-345',
        '0106-PB-PU-345', '0106-NC-DK-NA'
    ]

    # rp.retrieve_outcomes(pickle_list)
    rp.retrieve_casualties(pickle_list)
    rp.retrieve_times(pickle_list)