|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
ChangeStrategy | Interface used to determine if change operations should be applied to the current problem. |
Class Summary | |
---|---|
IterationBasedChangeStrategy | An IterationBasedChangeStrategy is a test to ensure that a problem is
altered or changed at a predefined frequency. |
NoChangeStrategy | Environmental change strategy for problems that does not allow a change to occur. |
Dynamic environments need to know when it should be applicable to change the problem.
Various strategies exist to do this, but for CIlib the simple process
to enable this is to implement the ChangeStrategy
and attach
it to the problem.
ChangeStrategy
classes implement a simple boolean function which
determines if a change should occur or not.
ChangeStrategy
classes are used as follows:
if (changeStrategy.shouldApply(problem)) problem.changeEnvironment();
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |