码迷,mamicode.com
首页 > Web开发 > 详细

Simulation of grooming in IP over optical network with fixed/flex-grid

时间:2019-11-04 18:00:08      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:pointer   grid   read   Fix   导入   新建   eclips   imu   main函数   

该项目是在已有的固定栅格和灵活栅格节点混合组网的基本项目框架(eclipse项目)下修改的。使用的IDE是idea2018。

1.将eclipse项目导入idea中。https://www.jianshu.com/p/c96d63b8aa97

2.运行simulation函数中的main函数,报错如下:

java.io.FileNotFoundException: nsf.txt (系统找不到指定的文件。)
java.io.FileNotFoundException: nsf_k_paths.txt (系统找不到指定的文件。)
Exception in thread "main" java.lang.NullPointerException
 at Network.setFlxeNodes(Network.java:104)
 at Simulation.main(Simulation.java:64)

解决办法:通过直接导入的办法是不行的,可能会有依赖错误。使用idea新建项目,将原src中的文件copy到现在的src中,再次运行simulation类中的main函数即可。

Simulation of grooming in IP over optical network with fixed/flex-grid

标签:pointer   grid   read   Fix   导入   新建   eclips   imu   main函数   

原文地址:https://www.cnblogs.com/Limer98/p/11792805.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!