Class OperatorModule<P extends Operator>

    • Constructor Detail

      • OperatorModule

        public OperatorModule()
    • Method Detail

      • addOperator

        protected void addOperator​(Class<? extends P> operator)
        Add an Operator.
        Parameters:
        operator - the operator to be added
      • getOperatorTypeLiteral

        protected abstract com.google.inject.TypeLiteral<P> getOperatorTypeLiteral()
      • addOperator

        protected void addOperator​(Class<? extends Genotype> genotype,
                                   Class<? extends P> operator)
        Add an Operator and apply it to each Genotype that equals the given class.
        Parameters:
        genotype - the genotype class
        operator - the operator