文件名称:遍历搜索图形演示
文件大小:17KB
文件格式:7Z
更新时间:2018-10-05 11:56:37
图形演示 搜索
遍历搜索图形演示 if (currentpoint.row == m_rowcount - 2 && currentpoint.col == m_mulcount - 2) { bret = true; break; } currentpoint.InitSereach(m_maps, irow, icol, m_rowcount - 1, m_mulcount - 1); // up if (currentpoint.up == emSereachResult.dsr_None || currentpoint.up == emSereachResult.dsr_NotSereach) { if (!IsListExists(list, irow - 1, icol)) { tempoint = new CSereachPoint(currentpoint, irow - 1, icol); list.Add(tempoint); currentpoint.nextdirect = emDirect.edt_Up; currentpoint = tempoint; DrawSereachLine(g, emDrawType.edt_Forward, emDirect.edt_Up, irow, icol); irow--; continue; } else { currentpoint.up = emSereachResult.dsr_Done; } }
【文件预览】:
sereach
----sereach()
--------bin()
--------Program.cs(470B)
--------Main.resx(6KB)
--------Main.cs(10KB)
--------CSereachPoint.cs(5KB)
--------app.config(117B)
--------sereach.csproj(4KB)
--------Main.Designer.cs(2KB)
--------Properties()
----sereach.sln(863B)
----sereach.suo(27KB)