Creating objects within the Problem package
![]() | ProblemFactoryA ( ConfigurationA const & iConfiguration ) Creating a factory for the Problem package |
![]() | Create functions Creating objects in the Problem package
|
This factory is used to spawn new objects in the Problem 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 FitnessFunctionA* CreateFitnessFunction( StopConditionA const & iStopCondition, StatisticsA & iStatistics, ProblemA const & iProblem )
virtual DataA* CreateData( unsigned int iSize )
virtual ProblemA* CreateProblem( )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de