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 TSPOrderOne

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

All Implemented Interfaces:
  CrossoverOpearator

    public class TSPOrderOne

extends java.lang.Object
implements CrossoverOpearator

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

Method Summary
`BaseIndividual[]` | `crossOver(BaseIndividual i1, BaseIndividual i2, int strLen)` Given two individuals, this method returns array of new individuals using crossover operator
`int` | `getNextNotIn1()`
`int` | `getNextNotIn2()`
`int` | `nextFreeFromRight()`
`void` | `print(java.lang.String str, int[] a)`
`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

### TSPOrderOne

    public TSPOrderOne()

  Creates a new instance of TSPOrderOne

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`

### nextFreeFromRight

    public int nextFreeFromRight()

### getNextNotIn1

    public int getNextNotIn1()

### getNextNotIn2

    public int getNextNotIn2()

### print

    public void print(java.lang.String str,
                      int[] a)

### 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