Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cz.pcland.ga.crossover
Class twoPointCrossover

    java.lang.Object
      cz.pcland.ga.crossover.twoPointCrossover

All Implemented Interfaces:
  CrossoverOpearator

    public class twoPointCrossover

extends java.lang.Object
implements CrossoverOpearator

Constructor Summary
`twoPointCrossover()` Creates a new instance of twoPointCrossover

Method Summary
`BaseIndividual[]` | `crossOver(BaseIndividual i1, BaseIndividual i2, int strLen)` Given two individuals, this method returns array of new individuals using crossover operator
`java.lang.String` | `toString()` Returns name of this crossover operator

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### twoPointCrossover

    public twoPointCrossover()

  Creates a new instance of twoPointCrossover

Method Detail

### toString

    public java.lang.String toString()

  Description copied from interface: `CrossoverOpearator`
  Returns name of this crossover operator

  Specified by:
    `toString` in interface `CrossoverOpearator`
  Overrides:
    `toString` in class `java.lang.Object`

### crossOver

    public BaseIndividual[] crossOver(BaseIndividual i1,
                                      BaseIndividual i2,
                                      int strLen)

  Description copied from interface: `CrossoverOpearator`
  Given two individuals, this method returns array of new individuals using crossover operator

  Specified by:
    `crossOver` in interface `CrossoverOpearator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD