moShiftNeighbor corrected
This commit is contained in:
parent
f8bde01588
commit
e15d03a90e
2 changed files with 3 additions and 3 deletions
|
|
@ -38,11 +38,11 @@
|
||||||
* Other name : insertion operator
|
* Other name : insertion operator
|
||||||
*/
|
*/
|
||||||
template <class EOT, class Fitness=typename EOT::Fitness>
|
template <class EOT, class Fitness=typename EOT::Fitness>
|
||||||
class moShiftNeighbor: public moBackableNeighbor<EOT, Fitness>, public moIndexNeighbor<EOT>
|
class moShiftNeighbor: public moBackableNeighbor<EOT, Fitness>, public moIndexNeighbor<EOT, Fitness>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
using moBackableNeighbor<EOT>::fitness;
|
using moBackableNeighbor<EOT, Fitness>::fitness;
|
||||||
using moIndexNeighbor<EOT, Fitness>::key;
|
using moIndexNeighbor<EOT, Fitness>::key;
|
||||||
using moIndexNeighbor<EOT, Fitness>::index;
|
using moIndexNeighbor<EOT, Fitness>::index;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,4 @@ add_subdirectory(examples)
|
||||||
add_subdirectory(Lesson1)
|
add_subdirectory(Lesson1)
|
||||||
add_subdirectory(Lesson2)
|
add_subdirectory(Lesson2)
|
||||||
add_subdirectory(Lesson3)
|
add_subdirectory(Lesson3)
|
||||||
#add_subdirectory(Lesson4)
|
add_subdirectory(Lesson4)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue