void MonCreateHypothesis::SetUCInf()
// ------------------------------------------------------------------------
{
- _UsCmpI = 1 ;
+ if ( TWCMP->rowCount() == 1 ) { _UsCmpI = 2 ; }
+ else { _UsCmpI = 1 ; }
RBInf->setChecked(true);
}
// ------------------------------------------------------------------------
void HOMARD_Hypothesis_i::SetUnifRefinUnRef( CORBA::Long TypeRaffDera )
{
ASSERT( myHomardHypothesis );
+ VERIFICATION( (TypeRaffDera==1) || (TypeRaffDera==-1) );
int TypeRaff, TypeDera ;
if ( TypeRaffDera == 1 )
{
TypeRaff = 0 ;
TypeDera = 1 ;
}
- else
- {
- ASSERT( "TypeRaffDera should be 1 or -1" == 0 );
- }
myHomardHypothesis->SetAdapType( -1 );
myHomardHypothesis->SetRefinTypeDera( TypeRaff, TypeDera );
}
{
MESSAGE ("Dans AddZone pour " << NomZone << " et TypeUse = " << TypeUse ) ;
ASSERT( myHomardHypothesis );
+ VERIFICATION( (TypeUse==1) || (TypeUse==-1) );
myHomardHypothesis->SetAdapType( 0 );
int TypeRaff, TypeDera ;
if ( TypeUse == 1 )
TypeRaff = myHomardHypothesis->GetRefinType() ;
TypeDera = 1 ;
}
- else
- {
- ASSERT( "TypeUse should be 1 or -1" == 0 );
- }
myHomardHypothesis->SetRefinTypeDera( TypeRaff, TypeDera );
char* NomHypo = GetName() ;
return _gen_i->AssociateHypoZone(NomHypo, NomZone, TypeUse) ;