# lab1-2021113276 **Repository Path**: liu-yu-hang111/lab1-2021113276 ## Basic Information - **Project Name**: lab1-2021113276 - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-20 - **Last Updated**: 2024-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Lab1-2021113276 可视化需要安装graphviz,并配置好环境变量 ``` Usage: Lab1 [-h] [-c] [-i] [-q] [--show] [-d=] [-r=] -s= -c, --calculate calculate shortest path of given words(split with space) -d, --dst= absolute path of destination graph file -h, --help display a help message -i, --insert query bridge-words and generate new text by input(split with space) -q, --query query bridge-word of word1 and word2(split with space) -r, --random= random walk and show randomPath and save randomPath as text at given absolute path -s, --src= absolute path of source text file --show print DirectedGraph ```