[1] Structura_data
This commit is contained in:
parent
ad2d65b1cc
commit
3438fa1fe9
|
|
@ -4,7 +4,7 @@ import numpy as np
|
|||
from collections import defaultdict
|
||||
import os
|
||||
|
||||
report_file = open("analysis_report.txt", "w", encoding="utf-8")
|
||||
report_file = open("analys_report.txt", "w", encoding="utf-8")
|
||||
data = defaultdict(lambda: defaultdict(dict))
|
||||
|
||||
with open("C:/Users/Honor/Documents/dep2k/lab_inf_1/data/results.csv", "r", encoding="utf-8") as f:
|
||||
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
|
@ -2,8 +2,8 @@ import time
|
|||
import csv
|
||||
import random
|
||||
|
||||
from phonebook_1_2 import (ll_insert, ll_find, ll_delete, create_buckets, ht_insert, ht_find, ht_delete, bst_insert, bst_find, bst_delete)
|
||||
from generator_1 import generate_data
|
||||
from phonebook import (ll_insert, ll_find, ll_delete, create_buckets, ht_insert, ht_find, ht_delete, bst_insert, bst_find, bst_delete)
|
||||
from generator import generate_data
|
||||
|
||||
def run_exp():
|
||||
records_shuffled, records_sorted = generate_data(10000)
|
||||
Loading…
Reference in New Issue
Block a user