一些java开源库

JGraphT主页:http://jgrapht.org/ 描述:JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT supports various types of graphs including:directed a...

用dos命令行,永久修改环境变量(转)

转自:http://blog.csdn.net/u011251014/article/details/49764951,有删改方法一:批处理中,修改环境变量,一次性有效(也就是在当前的脚本中有效)CMD中运行set path==%path%;d:/mypath用 set path可以查看,当前的环境变量方法二:批处理中,修改环境变量,永久有效::更改path环境变量值,新增e:\tool...

在maven中引入HBase依赖包出错Missing artifact jdk.tools:jdk.tools:jar:1.7

在maven中引入如下依赖:<dependency>     <groupId>org.apache.hbase</groupId>     <artifactId>hbase-client</artifactId>    ...

eclipse导入其他电脑的workspace出错:Missing Maven dependencies in Eclipse project

类似的问题在stackoverflow中有提到:https://stackoverflow.com/questions/4262186/missing-maven-dependencies-in-eclipse-project 受此启发,我的解决步骤如下:1、右键项目->Maven->update projects2、将JRE调成合适的版本3、菜单栏project->clean,...

使用Azure HDInsight中的HBase Shell

1. 在azure HDInsight中创建hbase,过程见官方文档2. 使用putty连接集群头结点,地址为:集群名-ssh.azurehdinsight.cn(中国azure)3. 运行HBase shell命令    hbase shell4. 创建表    create 'Contacts', 'Personal',...

遗传算法实现



1. 课程题目给定不受限优化问题:实现遗传算法,得出结果,并画出寻优曲线。2. 算法总框架算法框架的代码如下:int generation = 0; List<Chromosome> current = Initial(); Fitness(current); while(generation &...

Eclipse相关技能

快捷键:F3                        跳到变量定义处Ctrl+Shift+c     &...

linux 安装配置 apache (httpd)

1、安装Apacheyum install httpd2、设置Apache启动级别chkconfig --levels 235 httpd on在Linux中有7种启动级别分别为: #   0 - halt (Do NOT set initdefault to this) #   1 - Singl...

Bootstrap: glyphicons-halflings-regular.woff2 404 not found

This problem happens because IIS does not know about woff and woff2 file mime types.To solve this problem, we can add the following lines in the web.config file.<configuration&g...

Douglas-Peucker Algorithm implementation in C#



Douglas-Peucker algorithm is an error bounded sequence simplication. It is used for compressing trajectory, roadnetwork, etc. It's main idea can be shown as the following picture [1].I implement t...