Creating objects within the Reproduction package
![]() | ReproductionFactoryA ( ConfigurationA const & iConfiguration, RandomA const & iRandom ) Creating a factory for the Reproduction package |
![]() | Create functions Creating objects in the Reproduction package
|
This factory is used to spawn new objects in the Reproduction package of the library. When it is inherited the Create memberfunctions will decide which class to use for each different object that can be spawned. Thus by changing the factory all the objects in the ibrary will use other objects.
Create functions
Parameters depend on the needs of the constructor of the object that is being created. See the appropriate class for details.
virtual ReproductionA* CreateReproduction( CoreFactoryA const & iCoreFactory, ProblemFactoryA const & iProblemFactory, ProblemA const & iProblem, StopConditionA const & iStopCondition )
virtual SelectParentsA* CreateSelectParents()
virtual SelectSurvivorsA* CreateSelectSurvivors()
virtual ChangeOperatorA* CreateChangeOperator( ProblemFactoryA const & iProblemFactory, ProblemA const & iProblem )
virtual ProduceOperatorA* CreateProduceOperator( CoreFactoryA const & iCoreFactory, ProblemFactoryA const & iProblemFactory, ProblemA const & iProblem )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de