// Init objects
this->_BeforeGenerateData( );
this->_ConfigureOutput( this->m_InitValue );
- this->_InitMarks( this->GetNumberOfSeeds( ) );
+ this->_InitMarks( this->GetSeeds( ).size( ) );
+ TNodes seeds = this->_UnifySeeds( );
+ this->_PrepareSeeds( seeds );
// Init queue
this->_QueueInit( );
- typename TSeeds::const_iterator sIt = this->BeginSeeds( );
- for( ; sIt != this->EndSeeds( ); ++sIt )
+ typename TNodes::const_iterator sIt = seeds.begin( );
+ for( ; sIt != seeds.end( ); ++sIt )
{
this->_QueuePush( *sIt );
this->InvokeEvent( TEvent( sIt->Vertex, sIt->FrontId, true ) );