Improved algo for edge computation.

This commit is contained in:
Alan Mishchenko 2016-04-24 22:06:03 +03:00
parent e37ec2aac5
commit b87554b98a
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ void Seg_ManCreateCnf( Seg_Man_t * p, int fTwo, int fVerbose )
Vec_WecForEachLevel( vObjEdges, vLevel, i )
{
int v1, v2, v3, Var1, Var2, Var3;
if ( !fTwo && Vec_IntSize(vLevel) >= 2 )
if ( (!fTwo && Vec_IntSize(vLevel) >= 2) || (fTwo && Vec_IntSize(vLevel) > 10) )
{
Vec_IntForEachEntry( vLevel, Var1, v1 )
Vec_IntForEachEntryStart( vLevel, Var2, v2, v1 + 1 )