Package org.opt4j.core
Class DefaultIndividualFactory
- java.lang.Object
-
- org.opt4j.core.AbstractIndividualFactory<Individual>
-
- org.opt4j.core.DefaultIndividualFactory
-
- All Implemented Interfaces:
IndividualFactory
public class DefaultIndividualFactory extends AbstractIndividualFactory<Individual>
TheDefaultIndividualFactory
is a creator for standardIndividual
s.
-
-
Field Summary
-
Fields inherited from class org.opt4j.core.AbstractIndividualFactory
creator, individualProvider, individualStateListeners
-
-
Constructor Summary
Constructors Constructor Description DefaultIndividualFactory(com.google.inject.Provider<Individual> individualProvider, Creator creator)
-
Method Summary
-
Methods inherited from class org.opt4j.core.AbstractIndividualFactory
addIndividualStateListener, create, create, injectListeners, removeIndividualStateListener
-
-
-
-
Constructor Detail
-
DefaultIndividualFactory
@Inject public DefaultIndividualFactory(com.google.inject.Provider<Individual> individualProvider, Creator creator)
- Parameters:
individualProvider
- the provider that creates Individualscreator
- the creator
-
-