INNER CODE UNIT · Python

get_random_edge_style

crocs-muni/JCAlgTest · AlgTest_Process/cplc.py:218

def get_random_edge_style():
    """
    Returns randomly selected edge style
    @returns edge style string
    """
    edge_styles = ['solid', 'dashed', 'bold']
    return edge_styles[random.randint(0, len(edge_styles) - 1)]


def process_jcalgtest_files(walk_dir, files_with_cplc, files_without_cplc):
    """
    Recursively reads files with CPLC info from the provided directory.
    @param walk_dir: directory with stored results for cards
    @param files_with_cplc: list which will contain hash maps for the cards with CPLC defined
    @param files_without_cplc: list of card names without the CPLC info
    """
    files = []
    print(json.dumps(list(search_files(walk_dir)), indent=2))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…