org.opt4j.core.optimizer
Class OptimizerModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.opt4j.core.start.Opt4JModule
          extended by org.opt4j.core.optimizer.OptimizerModule
All Implemented Interfaces:
com.google.inject.Module

public abstract class OptimizerModule
extends Opt4JModule

Abstract module class for the Optimizer modules.

See Also:
Optimizer, IterativeOptimizer

Field Summary
 
Fields inherited from class org.opt4j.core.start.Opt4JModule
SINGLETON
 
Constructor Summary
OptimizerModule()
           
 
Method Summary
protected  void bindIterativeOptimizer(java.lang.Class<? extends IterativeOptimizer> optimizer)
          Binds the given IterativeOptimizer.
protected  void bindOptimizer(java.lang.Class<? extends Optimizer> optimizer)
          Binds the given Optimizer.
 
Methods inherited from class org.opt4j.core.start.Opt4JModule
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, config, configure, constant, multi
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizerModule

public OptimizerModule()
Method Detail

bindOptimizer

protected void bindOptimizer(java.lang.Class<? extends Optimizer> optimizer)
Binds the given Optimizer.

Parameters:
optimizer - the optimizer to bind

bindIterativeOptimizer

protected void bindIterativeOptimizer(java.lang.Class<? extends IterativeOptimizer> optimizer)
Binds the given IterativeOptimizer.

Parameters:
optimizer - the iterative optimizer to bind