Main Page | Class Hierarchy | Class List | File List | Class Members

GreedySearch Class Reference

#include <incop.h>

Inheritance diagram for GreedySearch:

Metaheuristic List of all members.

Public Member Functions

int acceptance (Move *move, Configuration *config)

Detailed Description

Greedy walk : a neighbor with better or same cost as the current configuration is accepted


Member Function Documentation

int GreedySearch::acceptance Move move,
Configuration config
[virtual]
 

acceptance condition of a move : returns 1 if the move is accepted

Reimplemented from Metaheuristic.


The documentation for this class was generated from the following files:
Generated on Wed Sep 15 17:58:38 2004 for INCOP by doxygen 1.3.5