2 * Description: The description of generate-and-test behavior.
5 * @ Author Create/Modi Note
6 * Xiaofeng Xie May 17, 2004
7 * Xiaofeng Xie Jul 01, 2008
13 * [1] X F Xie, W J Zhang. SWAF: swarm algorithm framework for numerical
14 * optimization. Genetic and Evolutionary Computation Conference (GECCO),
15 * Seattle, WA, USA, 2004: 238-250
16 * -> a generate-and-test behavior
18 package net
.adaptivebox
.deps
.behavior
;
20 import net
.adaptivebox
.goodness
.*;
21 import net
.adaptivebox
.knowledge
.*;
22 import net
.adaptivebox
.problem
.*;
24 abstract public class AbsGTBehavior
{
25 //The referred social library
26 protected Library socialLib
;
28 public void setLibrary(Library lib
) {
32 abstract public void generateBehavior(SearchPoint trailPoint
, ProblemEncoder problemEncoder
);
34 abstract public void testBehavior(SearchPoint trailPoint
, IGoodnessCompareEngine qualityComparator
);