Main Page | Class Hierarchy | Compound List | File List | Compound 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 Fri Sep 26 17:27:26 2003 for INCOP by doxygen 1.3.3