立即编号,拷贝应用。 protected $paths=[]; /** * @description: 获得文件路径 * @param {type} * @return: */ protected function getDir($path) { if (is_dir($path)) { $dir = scandir($path); foreach ($dir as $value) { $sub_path = $path . '/' . $value; if ($value == '.' || $value == '..') { continue; } else if (is_dir($sub_path)) { $this->getDir($sub_path); } else { $pathinfo=pathinfo($value); if(in_array($pathinfo['extension'],['jpg','png','gif','bmp','raw',
狄克斯特拉(Dijkstra)优化算法 引进
[毕业论文阅读心得] Are Meta-paths Necessary, Revisiting Heterogeneous Graph Embeddings