blob: b811572ada8275395bd6ad3e166016c5778a408c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/**
* Description: The description of generate-and-test behavior.
*
*
* Author Create/Modi Note
* Xiaofeng Xie May 17, 2004
* Xiaofeng Xie Jul 01, 2008
*
* @version 1.0
* @Since MAOS1.0
*
* @References:
* [1] X F Xie, W J Zhang. SWAF: swarm algorithm framework for numerical
* optimization. Genetic and Evolutionary Computation Conference (GECCO),
* Seattle, WA, USA, 2004: 238-250
* -> a generate-and-test behavior
*/
package net.adaptivebox.deps.behavior;
import net.adaptivebox.goodness.IGoodnessCompareEngine;
import net.adaptivebox.knowledge.Library;
import net.adaptivebox.knowledge.SearchPoint;
import net.adaptivebox.problem.ProblemEncoder;
abstract public class AbsGTBehavior {
// The referred social library
protected Library socialLib;
public void setLibrary(Library lib) {
socialLib = lib;
}
abstract public void generateBehavior(SearchPoint trailPoint, ProblemEncoder problemEncoder);
abstract public void testBehavior(SearchPoint trailPoint, IGoodnessCompareEngine qualityComparator);
}
|