摘要: public static void CreateWord(string HtmlPath, string WordSavePath) { string inputName = HtmlPath; //string ext = Path.GetExtension(inputName); string ou... 阅读全文
posted @ 2018-04-10 11:52 流星泪 阅读(266) 评论(0) 推荐(0)
摘要: 1 namespace HTML 2 { 3 class Program 4 { 5 const string qsbkMainUrl = "http://www.qiushibaike.com"; 6 7 private static string GetWBJokeUrl(int pageInd 阅读全文
posted @ 2018-04-10 11:46 流星泪 阅读(156) 评论(0) 推荐(0)
摘要: 1 public class Default1Controller : Controller 2 { 3 // 4 // GET: /Default1/ 5 6 public ActionResult Index() 7 { 8 return View(); 9 } 10 11 public Jso 阅读全文
posted @ 2018-04-10 11:42 流星泪 阅读(433) 评论(0) 推荐(0)
摘要: 用层次法和蒙特卡洛模型计算权重系数,然后建立判断矩阵进行随机一致性检验,最后求出重要度指数。 1 string calculateStr = "1,2,3,2,1,|1,2,3,2,1,|1,2,3,2,1,|1,2,3,2,1,"; 2 var vals = calculateStr.Split( 阅读全文
posted @ 2018-04-10 11:32 流星泪 阅读(960) 评论(0) 推荐(0)
摘要: 1 namespace Test1 2 { 3 /// <summary> 4 /// 重构类 5 /// </summary> 6 public class Collection : CollectionBase 7 { 8 public void Add(object item) 9 { 10 阅读全文
posted @ 2018-04-10 11:25 流星泪 阅读(178) 评论(0) 推荐(0)
摘要: 邻接矩阵:顶点到顶点。 将计算边的数量作为矩阵的元素。 顶点a和顶点b有一个公共边,所以说顶点a和顶点b是相邻的。 因此我们得到 顶点a并c与一个边相邻。所以我们得到对应顶点a和矩阵单元c 类似地,顶点b并c通过一条边连接。 因此得到 图中无其他边缘。将剩余位置都置为0。 阅读全文
posted @ 2018-04-10 11:17 流星泪 阅读(150) 评论(0) 推荐(0)