/*!
 *  \brief Register the parameters of this primitive superset.
 *  \param ioSystem Evolutionary system used for initialization.
 */
void GP::PrimitiveSuperSet::registerParams(Beagle::System& ioSystem)
{
	Beagle_StackTraceBeginM();
	Component::registerParams(ioSystem);
	Beagle_LogDetailedM(
	    ioSystem.getLogger(),
	    "initialization","Beagle::GP::PrimitiveSet",
	    "Registering the parameters of the primitive superset"
	);
	for(unsigned int i=0; i<mPrimitSets.size(); i++) {
		Beagle_LogVerboseM(
		    ioSystem.getLogger(),
		    "initialization","Beagle::GP::PrimitiveSet",
		    std::string("Initializing ")+uint2ordinal(i+1)+std::string(" primitive set")
		);
		mPrimitSets[i]->registerParams(ioSystem);
	}
	Beagle_StackTraceEndM("void GP::PrimitiveSuperSet::registerParams(GP::System&)");
}
/*!
 *
 */
void SharedLibEvalOp::init(Beagle::System& ioSystem)
{
    Beagle_StackTraceBeginM();

    Beagle::GP::EvaluationOp::init(ioSystem);
    
    std::ostringstream lOSS;
    lOSS << "Training set size: " << mTrainingSetSize;
	Beagle_LogInfoM(ioSystem.getLogger(), "init", "Beagle::GP::SharedLibEvalOp", lOSS.str());
	    
    Beagle_StackTraceEndM("void SharedLibEvalOp::init(System& ioSystem)");
}