toulbar2
Public Member Functions | Public Attributes | List of all members
IncompleteAlgorithm Class Reference
Inheritance diagram for IncompleteAlgorithm:
Inheritance graph
[legend]

Public Member Functions

virtual void randomwalk (OpProblem *problem, Configuration *configuration)
 
virtual void run (OpProblem *problem, Configuration **population)
 

Public Attributes

Long threshold
 

Detailed Description

Root class of algorithms

Member Function Documentation

◆ randomwalk()

void IncompleteAlgorithm::randomwalk ( OpProblem problem,
Configuration configuration 
)
virtual

walk for a particule

Reimplemented in GWWAlgorithm.

◆ run()

void IncompleteAlgorithm::run ( OpProblem problem,
Configuration **  population 
)
virtual

Run the algorithm on a population (array of configurations)

Reimplemented in GWWAlgorithm.

Member Data Documentation

◆ threshold

Long IncompleteAlgorithm::threshold

a threshold can be used to forbid moves above this threshold (used in LSAlgorithms implementing walks inside GWW)

Referenced by GWWAlgorithm::initthreshold(), GWWAlgorithm::randomwalk(), GWWAlgorithm::run(), and LSAlgorithm::test_bestfound().