Passage du code dans un pretty printer
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1813 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
cc31901008
commit
3d8057ac4d
88 changed files with 2726 additions and 2720 deletions
|
|
@ -48,9 +48,9 @@ template<class Neighbor>
|
|||
class moLocalSearch: public eoMonOp<typename Neighbor::EOT>
|
||||
{
|
||||
public:
|
||||
typedef moNeighborhood<Neighbor> Neighborhood;
|
||||
typedef moNeighborhoodExplorer<Neighbor> NeighborhoodExplorer;
|
||||
typedef typename Neighbor::EOT EOT ;
|
||||
typedef moNeighborhood<Neighbor> Neighborhood;
|
||||
typedef moNeighborhoodExplorer<Neighbor> NeighborhoodExplorer;
|
||||
typedef typename Neighbor::EOT EOT ;
|
||||
|
||||
/**
|
||||
* Constructor of a moLocalSearch
|
||||
|
|
@ -101,23 +101,23 @@ public:
|
|||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
/**
|
||||
* Set an external continuator
|
||||
* @param _cont the external continuator
|
||||
*/
|
||||
void setContinuator(moContinuator<Neighbor> & _cont) {
|
||||
cont = &_cont ;
|
||||
}
|
||||
void setContinuator(moContinuator<Neighbor> & _cont) {
|
||||
cont = &_cont ;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* external continuator object
|
||||
*
|
||||
*
|
||||
* @overload
|
||||
* @return the external continuator
|
||||
* @return the external continuator
|
||||
*/
|
||||
moContinuator<Neighbor>* getContinuator() const {
|
||||
return cont ;
|
||||
}
|
||||
moContinuator<Neighbor>* getContinuator() const {
|
||||
return cont ;
|
||||
}
|
||||
|
||||
protected:
|
||||
// make the exploration of the neighborhood according to a local search heuristic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue