- 博客(5)
- 收藏
- 关注
原创 利用Jung API在eclipse中实现Graph可视化
前言: Jung有一套让Graph实现可视化的API,可是在网络上的使用文档少之又少。故在此记下几个使用方法,来源于http://jung.sourceforge.net/doc/index.html及网上部分使用博客。一、下载jung api http://jung.sourceforge.net/download.html 至于如何将jar文件导入eclipse,及如何bu...
2018-04-15 15:47:27
1884
原创 利用已实现Graph<L>解决问题
Poetic walks 问题描述: 输入语料建立一个单词网络图,再对输入的语句,自动生成新的句子。 生成方法就是在单词网络图中寻找中间词,并插入生成新的句子例如: 语料输入: To explore strange new worlds To seek out new life and new civilizations单词网络图:输入:Seek to explore ne...
2018-04-15 15:14:58
657
翻译 ubuntu下pip install的问题
利用一个require安装依赖环境$pip install requests报错信息:Collecting requestsException:Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main status = se...
2018-04-05 00:33:45
1199
原创 ADT实现Graph类
利用泛型实现一个Graph类 一、 定义一个接口Graph.java: public interface Graph<L> { public static <L> Graph<L> empty() { } //其中这个方法需要具体实现 ### public boolean add(L vertex); ...
2018-03-24 23:29:50
1769
原创 利用ant进行自动化测试junit并生成报告
一、ant下载与安装 进入https://ant.apache.org/ ,选择Binary Distributions 并选择bin.zip结尾的文件,下载安装并配置环境变量二、build.xml文件的编写,例:<?xml version="1.0"?><project name="Lab_1160300406" default="test auot junit and re...
2018-03-24 22:39:55
3773
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人