net.sourceforge.cilib.problem.changestrategy
Interface ChangeStrategy

All Known Implementing Classes:
IterationBasedChangeStrategy, NoChangeStrategy

public interface ChangeStrategy

Interface used to determine if change operations should be applied to the current problem.

This is particularly useful in Dynamic Environments when the need to alter the problem search space.

It is possible to classify all problem instances as being dynamic problems. Problems that remain unchanged are effectively problems where the applied change is a change that preserves the problem search space, thus leaving it unchanged.


Method Summary
 boolean shouldApply(Problem problem)
          Determine whether a change should be applied to the provided problem instance.
 

Method Detail

shouldApply

boolean shouldApply(Problem problem)
Determine whether a change should be applied to the provided problem instance.

Parameters:
problem - The problem on which a change is to be applied.
Returns:
true if a change occoured, false otherwise.


Copyright © 2009 CIRG. All Rights Reserved.