# ParadisEO-MOEOMovingObjects: FlowShopOpCrossoverQuad.h Source File

# FlowShopOpCrossoverQuad.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 //-----------------------------------------------------------------------------
    00004 // FlowShopOpCrossoverQuad.h
    00005 // (c) OPAC Team (LIFL), Dolphin Project (INRIA), 2007
    00006 /*
    00007     This library...
    00008
    00009     Contact: paradiseo-help@lists.gforge.inria.fr, http://paradiseo.gforge.inria.fr
    00010  */
    00011 //-----------------------------------------------------------------------------
    00012
    00013 #ifndef FLOWSHOPOPCROSSOVERQUAD_H_
    00014 #define FLOWSHOPOPCROSSOVERQUAD_H_
    00015
    00016 #include <eoOp.h>
    00017 #include <FlowShop.h>
    00018
    00022 class FlowShopOpCrossoverQuad : public eoQuadOp < FlowShop >
    00023 {
    00024 public:
    00025
    00029     std::string className() const;
    00030
    00031
    00037     bool operator()(FlowShop & _flowshop1, FlowShop & _flowshop2);
    00038
    00039
    00040 private:
    00041
    00049     FlowShop generateOffspring(const FlowShop & _parent1, const FlowShop & _parent2, unsigned int _point1, unsigned int _point2);
    00050
    00051 };
    00052
    00053 #endif /*FLOWSHOPOPCROSSOVERQUAD_H_*/