- Main Page
- Classes
- Files

- Search for |

# FlowShopObjectiveVectorTraits.cpp

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 //-----------------------------------------------------------------------------
    00004 // FlowShopObjectiveVectorTraits.cpp
    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 #include <FlowShopObjectiveVectorTraits.h>
    00014
    00015
    00016 bool FlowShopObjectiveVectorTraits::minimizing (int _i)
    00017 {
    00018     // minimizing both
    00019     return true;
    00020 }
    00021
    00022 bool FlowShopObjectiveVectorTraits::maximizing (int _i)
    00023 {
    00024     // minimizing both
    00025     return false;
    00026 }
    00027
    00028 unsigned int FlowShopObjectiveVectorTraits::nObjectives ()
    00029 {
    00030     // 2 objectives
    00031     return 2;
    00032 }