把LineStru等类型声明放到单独的文件中。

Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
dmy@lab
2015-01-20 20:59:47 +08:00
parent 41502b5afa
commit da0a7f192e
7 changed files with 72 additions and 36 deletions

View File

@@ -20,9 +20,9 @@ bool TopologyTest::start(const QList<QPair<int,int> >& linkage)
ite++
)
{
int f=(*ite).first-1;
int s=(*ite).second-1;
std::cout<<f<<" to "<<s<<std::endl;
// int f=(*ite).first-1;
// int s=(*ite).second-1;
// std::cout<<f<<" to "<<s<<std::endl;
arch[(*ite).first-1].push_back((*ite).second-1);
arch[(*ite).second-1].push_back((*ite).first-1);
}