/*Implementation of PStep_SeparationManager.h

It contains the member functions of PStep_SeparationManager2

*/

#include "PStep_SeparationManager.h"

//PStep_SeparationManager2:
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

//Constructor functions
//------------------------------------------------------------------------------------

//Basic constructor
PStep_SeparationManager2::PStep_SeparationManager2(PStep_AlgorithmMembers& InitAlgorithmMembers, PStep_SeparationAlgorithm* &InitCurrentSeparationAlgorithm)
	: PStep_SeparationManager(InitAlgorithmMembers, InitCurrentSeparationAlgorithm)
{
	//Initialize separator 2
	ListOfSeperationAlgorithm2s.emplace_front(AlgorithmMembers);
	//Set current separator
	CurrentSeparationAlgorithm = &ListOfSeperationAlgorithm2s.front();
}

//Manage
//------------------------------------------------------------------------------------

//Set current separator to SeperationAlgorithm2
void PStep_SeparationManager2::Manage(){

	//Set current separator
	CurrentSeparationAlgorithm = &ListOfSeperationAlgorithm2s.front();

}